fix assets.parse_model with 'xml' format
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user