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:
Marc Chapman 2017-07-26 21:40:27 +01:00
parent 43815793d1
commit bc90e97d35
2 changed files with 35 additions and 0 deletions

View file

@ -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() { }
};