Fix selection applying to hidden Nodes when filtering Scene Tree Editor

This commit is contained in:
Micky 2022-10-03 18:28:43 +02:00
parent 321251a133
commit c03377653e

View file

@ -804,6 +804,10 @@ void SceneTreeEditor::_cell_multi_selected(Object *p_object, int p_cell, bool p_
TreeItem *item = Object::cast_to<TreeItem>(p_object);
ERR_FAIL_COND(!item);
if (!item->is_visible()) {
return;
}
NodePath np = item->get_metadata(0);
Node *n = get_node(np);