mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 13:14:33 +00:00
- Flips the order of the taml object compilation and flag for locking the write so we can properly clear and reprocess objects if they're accessed/written again
- Re-adds the filecopy check so if dragging-and-dropping an external shape file for importing(Secure VFS flag allowing) it properly copies the source file to the destination directory on import
This commit is contained in:
parent
20bf6b7de9
commit
b3190ddc81
2 changed files with 29 additions and 3 deletions
|
|
@ -252,8 +252,9 @@ bool Taml::write(SimObject* pSimObject, const char* pFilename)
|
|||
stream.close();
|
||||
|
||||
// Reset the compilation.
|
||||
resetCompilation();
|
||||
mWriteLocked = false;
|
||||
resetCompilation();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue