Merge pull request #66827 from Mickeon/now-you-see-me-now-you-dont

Fix selection applying to hidden Nodes when filtering Scene Tree Editor
This commit is contained in:
Rémi Verschelde 2022-10-04 10:31:47 +02:00
commit b58f34372c

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);