inkgd icon indicating copy to clipboard operation
inkgd copied to clipboard

Godot 4: fix infinite import/compilation loop

Open olanti-p opened this issue 10 months ago • 0 comments

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.

olanti-p avatar Feb 08 '25 20:02 olanti-p