Skip to content

Commit

Permalink
Merge pull request #85517 from YuriSizov/editor-revert-some-enhancements
Browse files Browse the repository at this point in the history
Disable a prohibitively slow code branch when reparenting nodes
  • Loading branch information
YuriSizov authored Nov 29, 2023
2 parents 3c8efca + 3a67eb2 commit f89890b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/scene_tree_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1762,6 +1762,8 @@ bool SceneTreeDock::_check_node_path_recursive(Node *p_root_node, Variant &r_var
}
} break;

// FIXME: This approach causes a significant performance regression, see GH-84910.
#if 0
case Variant::OBJECT: {
Resource *resource = Object::cast_to<Resource>(r_variant);
if (!resource) {
Expand Down Expand Up @@ -1792,6 +1794,7 @@ bool SceneTreeDock::_check_node_path_recursive(Node *p_root_node, Variant &r_var
}
break;
};
#endif

default: {
}
Expand Down

0 comments on commit f89890b

Please sign in to comment.