diff --git a/addons_shared_gen/README.md b/addons_shared_gen/README.md new file mode 100644 index 0000000..4b0cd2d --- /dev/null +++ b/addons_shared_gen/README.md @@ -0,0 +1,4 @@ +# This folder is auto-generated by copy_addons_shared + +You may still contribute to these auto-generated files in pull requests. +Your changes will be upstreamed to the auto generation script. diff --git a/addons_shared_gen/addons_panel_manager.gd b/addons_shared_gen/addons_panel_manager.gd index d327d1f..dbbe117 100644 --- a/addons_shared_gen/addons_panel_manager.gd +++ b/addons_shared_gen/addons_panel_manager.gd @@ -22,7 +22,7 @@ class AddonsPanelManager: if not _addons_dock: _addons_dock = _find_addons_dock() if not _addons_dock: - _addons_dock = preload("addons_panel_manager/scenes/ui_addons_dock.tscn").instantiate() + _addons_dock = preload("res://addons/gdlogging/addons_shared_gen/addons_panel_manager/scenes/ui_addons_dock.tscn").instantiate() _addons_dock.add_to_group(ADDONS_DOCK_NAME) _editor_plugin.add_control_to_dock(EditorPlugin.DOCK_SLOT_RIGHT_UL, _addons_dock) diff --git a/addons_shared_gen/addons_panel_manager/scenes/ui_addons_dock.tscn b/addons_shared_gen/addons_panel_manager/scenes/ui_addons_dock.tscn index 6f924b4..d5d62d9 100644 --- a/addons_shared_gen/addons_panel_manager/scenes/ui_addons_dock.tscn +++ b/addons_shared_gen/addons_panel_manager/scenes/ui_addons_dock.tscn @@ -1,6 +1,6 @@ -[gd_scene load_steps=2 format=3 uid="uid://lgxr7t7u3bh3"] +[gd_scene load_steps=2 format=3 uid="uid://cvtc47yp55uyg"] -[ext_resource type="Script" path="ui_addons_dock.gd" id="1_cqnue"] +[ext_resource type="Script" path="res://addons/gdlogging/addons_shared_gen/addons_panel_manager/scenes/ui_addons_dock.gd" id="1_cqnue"] [node name="Addons" type="HBoxContainer"] anchors_preset = 15 diff --git a/plugin.cfg b/plugin.cfg index d62e5da..8309aee 100644 --- a/plugin.cfg +++ b/plugin.cfg @@ -4,3 +4,4 @@ description="Godot logging plugin" author="The gdlogging Contributors" version="1.0.0" script="main_gdlogging.gd" +addons_shared=true