mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add 'model-name' block property
This commit is contained in:
parent
64369fb189
commit
423ac2c44e
5 changed files with 23 additions and 17 deletions
|
|
@ -30,7 +30,7 @@ ContentGfxCache::ContentGfxCache(const Content* content, Assets* assets)
|
|||
}
|
||||
if (def->model == BlockModel::custom) {
|
||||
models[def->rt.id] =
|
||||
assets->require<model::Model>(def->name + ".model");
|
||||
assets->require<model::Model>(def->modelName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue