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

Conversation

olanti-p
Copy link

@olanti-p olanti-p commented Feb 8, 2025

Fix infinite loop that happens when the addon detects resource import, fires compilation, then detects a new import of produced .jsons and fires compilation again.

The fix is to use ink_resources_reimported signal that only fires when .ink resources are reimported, opposed to editor filesystem signal that fires on any resource reimport.

Opportunistically fix the typo.

Tested on personal project under Godot 4.3. Didn't run any tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant