Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot 4: fix infinite import/compilation loop #94

Open
wants to merge 1 commit into
base: godot4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions addons/inkgd/editor/common/ink_editor_interface.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class_name InkEditorInterface

## Emitted when 'Ink' resources (i. e. files with the '.ink' extension) were
## reimported by Godot.
signal ink_ressources_reimported(resources)
signal ink_resources_reimported(resources)

# ############################################################################ #
# Properties
Expand Down Expand Up @@ -81,4 +81,4 @@ func _resources_reimported(resources):
if resource.get_extension() == "ink":
ink_resources.append(resource)

emit_signal("ink_ressources_reimported", ink_resources)
emit_signal("ink_resources_reimported", ink_resources)
2 changes: 1 addition & 1 deletion addons/inkgd/editor/panel/stories/ink_story_panel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func _ready():

configuration.connect("compilation_mode_changed", Callable(self, "_compilation_mode_changed"))

editor_interface.editor_filesystem.connect("resources_reimported", Callable(self, "_resources_reimported"))
editor_interface.connect("ink_resources_reimported", Callable(self, "_resources_reimported"))

_story_configuration_container.add_child(_empty_state_container)
add_child(_file_dialog)
Expand Down