Skip to content

Commit

Permalink
Fix unable to expand nested resource editor in inspector (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjp94 authored Dec 23, 2023
1 parent cb9f535 commit 79bd3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/gd-blender-3d-shortcuts/plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func _handles(object):
if object is Node3D:
_is_editing = get_editor_interface().get_selection().get_selected_nodes().size()
return _is_editing
else:
elif object.get_class() == "MultiNodeEdit": # Explicitly handle MultiNodeEdit, otherwise, it will active when selected Resource
_is_editing = get_editor_interface().get_selection().get_transformable_selected_nodes().size() > 0
return _is_editing
return false
Expand Down

0 comments on commit 79bd3a1

Please sign in to comment.