mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
Merge pull request #94387 from mihe/fix-3d-selection-list
Fix "selectable nodes at position clicked" feature in 3D editor
This commit is contained in:
commit
6a1ac99a98
@ -1575,7 +1575,7 @@ void Node3DEditorViewport::_list_select(Ref<InputEventMouseButton> b) {
|
||||
} else {
|
||||
Node *node_owner = node->get_owner();
|
||||
if (node == edited_scene || node_owner == edited_scene || (node_owner != nullptr && edited_scene->is_editable_instance(node_owner))) {
|
||||
if (selection_results.has(node)) {
|
||||
if (!selection_results.has(node)) {
|
||||
selection_results.append(node);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user