You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix reselecting scene tree node after inspecting a resource
This broke when the `node_selected` connection was removed in #91435. Here it's returned, but the emit is removed from `_node_removed`. That preserves the earlier fix while allowing nodes to be reselected.
This commit is contained in:
@@ -589,7 +589,6 @@ void SceneTreeEditor::_node_removed(Node *p_node) {
|
||||
|
||||
if (p_node == selected) {
|
||||
selected = nullptr;
|
||||
emit_signal(SNAME("node_selected"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user