Merge pull request #14529 from Smjert/fix/scene-tree-editor-crash
Fix SceneTreeEditor crashing when calling _deselect_items
This commit is contained in:
commit
40250c2434
@ -484,6 +484,7 @@ 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)
|
||||||
editor_selection->clear();
|
editor_selection->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user