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.
1 parent a3b6898 commit de84895Copy full SHA for de84895
addons/block_code/block_code_plugin.gd
@@ -115,7 +115,10 @@ func _on_editor_inspector_edited_object_changed():
115
selected_block_code_node = null
116
117
BlockCodePlugin.main_panel.switch_block_code_node(selected_block_code_node)
118
- if selected_block_code_node:
+ if edited_node is BlockCode:
119
+ # If the user explicitly chose a BlockCode node, show the Block Code
120
+ # editor. We only do this for the BlockCode node itself, rather than
121
+ # nodes containing BlockCode, to avoid conflicts with other panels.
122
make_bottom_panel_item_visible(main_panel)
123
124
0 commit comments