Skip to content

Commit

Permalink
Auto generate shared_addons folder for standalone operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
raldone01 committed Jan 18, 2024
1 parent a6d736d commit 983b4e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions addons_shared_gen/README.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion addons_shared_gen/addons_panel_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ description="Godot logging plugin"
author="The gdlogging Contributors"
version="1.0.0"
script="main_gdlogging.gd"
addons_shared=true

0 comments on commit 983b4e3

Please sign in to comment.