Skip to content

Commit

Permalink
Fix re-import glb model doesn't change the old glb model
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilderin committed Jul 7, 2024
1 parent b97110c commit 5a13cf0
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 @@ -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();

Expand Down

0 comments on commit 5a13cf0

Please sign in to comment.