add assets.parse_model

This commit is contained in:
MihailRis
2025-05-25 17:16:07 +03:00
parent ac337a4e65
commit 407184250c
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -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