summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-07 12:44:08 +0200
committerGitHub <noreply@github.com>2021-07-07 12:44:08 +0200
commit7428c076247254c215b984410816148a6515e471 (patch)
tree5b3bf3671080275c226776ec6073b8386c365602 /editor/scene_tree_dock.h
parent82d4a8903be0e68dfd1ea758e4ac625585ac6312 (diff)
parent99909cb4f72d3689d23becd12e0f6d18f98c11f4 (diff)
Merge pull request #50236 from Calinou/editor-preview-sun-sky-add-root-node
Add a root Node3D automatically if absent when adding preview sun and sky
Diffstat (limited to 'editor/scene_tree_dock.h')
-rw-r--r--editor/scene_tree_dock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.h b/editor/scene_tree_dock.h
index 88c4a85f4c..08d992d465 100644
--- a/editor/scene_tree_dock.h
+++ b/editor/scene_tree_dock.h
@@ -261,6 +261,7 @@ public:
void _focus_node();
void import_subscene();
+ void add_root_node(Node *p_node);
void set_edited_scene(Node *p_scene);
void instantiate(const String &p_file);
void instantiate_scenes(const Vector<String> &p_files, Node *p_parent = nullptr);