File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
addons/block_code/ui/title_bar Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func _update_node_option_button_options():
4444
4545 for block_code_node in scene_root .find_children ("*" , "BlockCode" ):
4646 var node_item_index = _node_option_button .item_count
47- var node_label = "{name} ({type} )" .format ({"name" : block_code_node . get_parent (). name , "type" : block_code_node .bsd .script_inherits })
47+ var node_label = "{name} ({type} )" .format ({"name" : scene_root . get_path_to ( block_code_node ). get_concatenated_names () , "type" : block_code_node .bsd .script_inherits })
4848 _node_option_button .add_item (node_label )
4949 _node_option_button .set_item_icon (node_item_index , _block_code_icon )
5050 _node_option_button .set_item_metadata (node_item_index , block_code_node )
You can’t perform that action at this time.
0 commit comments