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

EditorUndoRedoManager is polluting scene history. #37

Open
Rubonnek opened this issue Feb 14, 2024 · 0 comments
Open

EditorUndoRedoManager is polluting scene history. #37

Rubonnek opened this issue Feb 14, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Rubonnek
Copy link
Contributor

Under certain scenarios the usage of EditorUndoRedoManager in the LimboAI Editor plugin will pollute the scene history when it shouldn't -- for example when creating a new BehaviorTree and adding tasks to it while on an empty scene.

This will make will make undo/redo operations error out from time to time and not work as expected sometimes.

Since EditorUndoRedoManager is not able to automatically track parent/child relationships of Resource objects (which include BTTask), we need a way to force it to use a specific undo/redo history in order to properly manage undo/redo operations in the Editor.

Once the following patch is merged upstream, the LimboAI Editor undo/redo operations can be properly fixed.

@limbonaut limbonaut added the bug Something isn't working label Feb 15, 2024
@limbonaut limbonaut added this to the 1.2 milestone Jun 30, 2024
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

No branches or pull requests

2 participants