Skip to content

Conversation

@manuq
Copy link
Contributor

@manuq manuq commented Jun 25, 2024

manuq added 2 commits June 25, 2024 08:28
And fix undo redo property to be the BlockCodeNode "block_script".

The current BlockCodeNode has it already as the block_script property.
Use that directly
Use the inner properties of the block script (block_trees and
generated_script) for the do / undo.

Connect to the EditorUndoRedoManager version_changed signal to reload
the canvas.
@manuq manuq changed the title Undo redo Add undo/redo functionality Jun 25, 2024
@wjt
Copy link
Member

wjt commented Jun 25, 2024

Nice – this works well!

@wjt wjt merged commit ad90e57 into main Jun 25, 2024
@wjt wjt deleted the undo-redo branch June 25, 2024 12:27
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.

3 participants