Skip to content

Commit

Permalink
Merge pull request #94020 from Hilderin/fix-reimport-model-does-not-u…
Browse files Browse the repository at this point in the history
…pdate-scene

Fix re-import glb model doesn't change the old glb model
  • Loading branch information
akien-mga committed Jul 8, 2024
2 parents 3220b6f + 5a13cf0 commit 40d9f3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5978,9 +5978,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();

Expand Down

0 comments on commit 40d9f3a

Please sign in to comment.