fix assets.parse_model with 'xml' format

This commit is contained in:
MihailRis
2025-10-15 12:17:46 +03:00
parent da41de263d
commit ec94abccbc
6 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ function unlock_access()
end
local function reload_model(filename, name)
assets.parse_model("xml", document.editor.text, name)
assets.parse_model(file.ext(filename), document.editor.text, name)
end
function run_current_file()
-1
View File
@@ -33,5 +33,4 @@
onup="on_history_up()"
ondown="on_history_down()">
</textbox>
<textbox size="200" margin="20" multiline="true" text-wrap="true" autoresize="false"/>
</container>