App: InVRMLObject use two different index variables for restoring and saving
This is needed as it can happen (e.g. when debugging) that while restoring a project the auto-save mechanism is called that messes up the index value
This commit is contained in:
@@ -67,7 +67,8 @@ protected:
|
||||
|
||||
private:
|
||||
mutable std::string vrmlPath;
|
||||
mutable int index{0};
|
||||
mutable int indexRestore{0};
|
||||
mutable int indexSave{0};
|
||||
};
|
||||
|
||||
} //namespace App
|
||||
|
||||
Reference in New Issue
Block a user