summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorhilfazer <az13337@gmail.com>2021-02-22 20:18:14 +0100
committerhilfazer <az13337@gmail.com>2021-02-26 07:18:21 +0100
commite28cc34db89f390106fbb745e296055bcabc237f (patch)
tree57c7ea5531edc116d1ca5d0c092b97707be3b9ee /editor/scene_tree_dock.h
parentcb29e6c49cde181999435c7f8284bce2d20ab7d8 (diff)
Prevent 'Change Type' on nodes from an instanced scene
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 9bc281c7fb..3779b61c60 100644
--- a/editor/scene_tree_dock.h
+++ b/editor/scene_tree_dock.h
@@ -205,6 +205,7 @@ class SceneTreeDock : public VBoxContainer {
void _new_scene_from(String p_file);
bool _validate_no_foreign();
+ bool _validate_no_instance();
void _selection_changed();
void _update_script_button();