mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
move default block material name to defaults.toml
This commit is contained in:
parent
8a40bf4fcd
commit
383dcde2e7
3 changed files with 5 additions and 3 deletions
|
|
@ -39,6 +39,9 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
|||
} else {
|
||||
def.defaults.rt.solid = isSolid(def.defaults) || def.explictlySolid;
|
||||
}
|
||||
if (def.material.empty()) {
|
||||
defaults.at("block-material").get(def.material);
|
||||
}
|
||||
|
||||
const float EPSILON = 0.01f;
|
||||
def.rt.solid =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue