mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
add assets.parse_model
This commit is contained in:
parent
ac337a4e65
commit
407184250c
2 changed files with 17 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ local function load_models_list(packs)
|
|||
for _, filename in ipairs(file.list("models")) do
|
||||
local ext = file.ext(filename)
|
||||
if ext == "xml" then
|
||||
registry[filename] = {type="model"}
|
||||
registry[filename] = {type="model", unit=file.stem(filename)}
|
||||
table.insert(export.filenames, filename)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue