summaryrefslogtreecommitdiffstats
path: root/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-10-13 13:29:47 +0200
committerkobewi <kobewi4e@gmail.com>2023-10-13 13:31:13 +0200
commita5c984412ce5f5526c43800b50c4b1e45a13d161 (patch)
treee90cedef916bbabaf5c0ac32cac0613bd7d02a13 /editor/scene_tree_dock.h
parent51f81e1c88499f04d2ebdcc0be0b34e73f5e90eb (diff)
downloadredot-engine-a5c984412ce5f5526c43800b50c4b1e45a13d161.tar.gz
Don't try updating wrong NodePaths in resources
Diffstat (limited to 'editor/scene_tree_dock.h')
-rw-r--r--editor/scene_tree_dock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.h b/editor/scene_tree_dock.h
index 9c111bce71..3f02d2881d 100644
--- a/editor/scene_tree_dock.h
+++ b/editor/scene_tree_dock.h
@@ -281,7 +281,7 @@ class SceneTreeDock : public VBoxContainer {
static void _update_configuration_warning();
bool _update_node_path(Node *p_root_node, NodePath &r_node_path, HashMap<Node *, NodePath> *p_renames) const;
- bool _check_node_path_recursive(Node *p_root_node, Variant &r_variant, HashMap<Node *, NodePath> *p_renames) const;
+ bool _check_node_path_recursive(Node *p_root_node, Variant &r_variant, HashMap<Node *, NodePath> *p_renames, bool p_inside_resource = false) const;
bool _check_node_recursive(Variant &r_variant, Node *p_node, Node *p_by_node, const String type_hint, String &r_warn_message);
void _replace_node(Node *p_node, Node *p_by_node, bool p_keep_properties = true, bool p_remove_old = true);