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:
commit
b58f34372c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user