Relocate add_root_node method to EditorInterface from EditorScript and deprecate old method

This commit is contained in:
robert yevdokimov
2025-07-28 17:04:42 +04:00
parent 8b2739ee55
commit 11a4961081
5 changed files with 38 additions and 25 deletions

View File

@ -173,6 +173,8 @@ public:
TypedArray<Node> get_open_scene_roots() const;
Node *get_edited_scene_root() const;
void add_root_node(Node *p_node);
Error save_scene();
void save_scene_as(const String &p_scene, bool p_with_preview = true);
void mark_scene_as_unsaved();