From e28cc34db89f390106fbb745e296055bcabc237f Mon Sep 17 00:00:00 2001 From: hilfazer Date: Mon, 22 Feb 2021 20:18:14 +0100 Subject: Prevent 'Change Type' on nodes from an instanced scene --- editor/scene_tree_dock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/scene_tree_dock.h') 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(); -- cgit v1.2.3