diff options
author | Hilderin <81109165+Hilderin@users.noreply.github.com> | 2024-07-07 02:01:03 -0400 |
---|---|---|
committer | Hilderin <81109165+Hilderin@users.noreply.github.com> | 2024-07-07 02:01:03 -0400 |
commit | 5a13cf0aea9820d0cc6cdaad96f8252388e2699d (patch) | |
tree | 43ebdfcf15d1159b71236ce6ea035eac800711a0 /editor | |
parent | b97110cd307e4d78e20bfafe5de6c082194b2cd6 (diff) | |
download | redot-engine-5a13cf0aea9820d0cc6cdaad96f8252388e2699d.tar.gz |
Fix re-import glb model doesn't change the old glb model
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_node.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 632b36c705..34705888f4 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5981,9 +5981,6 @@ void EditorNode::reload_instances_with_path_in_edited_scenes(const String &p_ins is_editable = owner->is_editable_instance(original_node); } - // For clear instance state for path recaching. - instantiated_node->set_scene_instance_state(Ref<SceneState>()); - bool original_node_is_displayed_folded = original_node->is_displayed_folded(); bool original_node_scene_instance_load_placeholder = original_node->get_scene_instance_load_placeholder(); |