We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d3cea1 + 518fa9b commit 1c877c7Copy full SHA for 1c877c7
addons/block_code/block_code_plugin.gd
@@ -138,7 +138,10 @@ func _on_editor_inspector_edited_object_changed():
138
139
140
func select_block_code_node(block_code: BlockCode):
141
- if block_code == _selected_block_code:
+ # Skip duplicate selection unless new node is null. That happens when any
142
+ # non-BlockCode node is selected and that needs to be passed through to the
143
+ # main panel.
144
+ if block_code and block_code == _selected_block_code:
145
return
146
147
if not is_block_code_editable(block_code):
0 commit comments