Expose set_edited and is_edited on EditorInterface

This commit is contained in:
Chris Cranford 2024-05-08 02:03:44 -04:00
parent 235a32ad11
commit ff561c1379
No known key found for this signature in database
GPG key ID: 8B8088D41181D04B
3 changed files with 33 additions and 0 deletions

View file

@ -175,6 +175,9 @@ public:
void open_scene_from_path(const String &scene_path, bool p_set_inherited = false);
void reload_scene_from_path(const String &scene_path);
void set_object_edited(Object *p_object, bool p_edited);
bool is_object_edited(Object *p_object) const;
PackedStringArray get_open_scenes() const;
TypedArray<Node> get_open_scene_roots() const;
Node *get_edited_scene_root() const;