Fix crash on reimport scene with animations

This commit is contained in:
Hilderin 2024-08-02 16:50:22 -04:00
parent 3978628c6c
commit 769424388e
4 changed files with 35 additions and 0 deletions

View file

@ -74,6 +74,7 @@ public:
// Adds an object to the selection history. A property name can be passed if the target is a subresource of the given object.
// If the object should not change the main screen plugin, it can be set as inspector only.
void add_object(ObjectID p_object, const String &p_property = String(), bool p_inspector_only = false);
void replace_object(ObjectID p_old_object, ObjectID p_new_object);
int get_history_len();
int get_history_pos();