You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix update 2D view on selections in scene tree
This commit is contained in:
@@ -521,8 +521,10 @@ void SceneTreeEditor::_selected_changed() {
|
|||||||
void SceneTreeEditor::_deselect_items() {
|
void SceneTreeEditor::_deselect_items() {
|
||||||
|
|
||||||
// Clear currently elected items in scene tree dock.
|
// Clear currently elected items in scene tree dock.
|
||||||
if (editor_selection)
|
if (editor_selection) {
|
||||||
editor_selection->clear();
|
editor_selection->clear();
|
||||||
|
emit_signal("node_changed");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SceneTreeEditor::_cell_multi_selected(Object *p_object, int p_cell, bool p_selected) {
|
void SceneTreeEditor::_cell_multi_selected(Object *p_object, int p_cell, bool p_selected) {
|
||||||
@@ -546,6 +548,7 @@ void SceneTreeEditor::_cell_multi_selected(Object *p_object, int p_cell, bool p_
|
|||||||
} else {
|
} else {
|
||||||
editor_selection->remove_node(n);
|
editor_selection->remove_node(n);
|
||||||
}
|
}
|
||||||
|
emit_signal("node_changed");
|
||||||
}
|
}
|
||||||
|
|
||||||
void SceneTreeEditor::_notification(int p_what) {
|
void SceneTreeEditor::_notification(int p_what) {
|
||||||
|
|||||||
Reference in New Issue
Block a user