|
@@ -12,7 +12,7 @@ func _enter_tree() -> void:
|
|
|
if file.get_extension() == 'rb':
|
|
|
var json_path := _tool_json_root_path.path_join(file.get_basename()) + '.json'
|
|
|
if FileAccess.file_exists(json_path):
|
|
|
- make_panel(ProjectSettings.globalize_path(json_path), ProjectSettings.globalize_path(file))
|
|
|
+ make_panel(ProjectSettings.globalize_path(json_path), ProjectSettings.globalize_path(dir.get_current_dir().path_join(file)))
|
|
|
|
|
|
func make_panel(tool_json_path:String, tool_script_path:String) -> VBoxContainer:
|
|
|
var panel := VBoxContainer.new()
|