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

Improve saving for built-in BTs attached to scenes #243

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

limbonaut
Copy link
Owner

@limbonaut limbonaut commented Nov 1, 2024

Fixes built-in resources not being saved (on "Save" clicked in LimboAI editor or "Ctrl+Alt+S" pressed while editor is visible).
On Ctrl+S, only external resources are currently saved. Ctrl+S is bound to "Save Scene" Godot command, and I'm not sure if we should override its behavior by asking other scenes to be saved as well.
There is also a problem with dirty state tracking and circular dependency loop, explained here: #240 (comment)

@limbonaut limbonaut added the bug Something isn't working label Nov 1, 2024
@limbonaut limbonaut force-pushed the fix-builtin-resource-save branch from 9f96332 to 591a1fe Compare November 1, 2024 21:22
Also fixes dirty state handling, however it's currently unused.
@limbonaut limbonaut marked this pull request as ready for review November 2, 2024 19:29
@limbonaut limbonaut merged commit 4c9028f into master Nov 3, 2024
17 checks passed
@limbonaut limbonaut deleted the fix-builtin-resource-save branch November 3, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant