mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
copy-on-reload -- The datablock copy op, ":" is modified to copy on reload as well as on creation.
reload-reset -- adds virtual method that is called when a datablock is reloaded.
This commit is contained in:
parent
43815793d1
commit
bc90e97d35
2 changed files with 35 additions and 0 deletions
|
|
@ -980,6 +980,8 @@ public:
|
|||
/*C*/ SimObject(const SimObject&, bool = false);
|
||||
bool isTempClone() const { return is_temp_clone; }
|
||||
virtual bool allowSubstitutions() const { return false; }
|
||||
public:
|
||||
virtual void reloadReset() { }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue