Creation of asset "UndoRedo Service" New

New/Edit
Title UndoRedo Service
Description UndoRedo Service is an addon for Godot 4 that allows you to more easily take advantage of the editor's built-in UndoRedo system to save changes to editor game state right as they happen. Everything is managed through the UndoRedoService singleton that becomes active once the addon is installed.

Features:
• Provides safe access to the EditorUndoRedoManager singleton that won't crash your game on exported builds
• Queue up operations to be executed with a streamlined approach as compared to the built-in UndoRedo action flow
• Bundle do & undo property changes and method calls
• Merge UndoRedo actions together with commit_merge_action, allowing you to treat multiple undo/redo actions as one
• Safely apply queued operations without causing errors due to other unfinished UndoRedo actions
• Make & merge custom actions in response to native UndoRedo actions

Note:
This addon is not a remake or redesign of the native UndoRedo system at large; it is more or less a streamlined wrapper over the existing EditorUndoRedoManager singleton, with a built-in undo operation caching mechanism that allows us to skip duplicate undo ops for merged actions when desired (see docs for details). It is still beholden to the core limitations of the native UndoRedo system, and relies on some workarounds to function. Nonetheless I hope it can be a handy tool for your needs!
Category Tools
License MIT
Repository Provider GitHub
Repository Url https://github.com/ComfyMitten/undo-redo-service
Issues Url https://github.com/ComfyMitten/undo-redo-service/issues
Godot version Godot 4.5
Version String 1.0
Download Commit cf61072aba673a5400d9f1a97edb0df6cbd1502a
Download Url (Computed) https://github.com/ComfyMitten/undo-redo-service/archive/cf61072aba673a5400d9f1a97edb0df6cbd1502a.zip
Icon Url https://raw.githubusercontent.com/ComfyMitten/undo-redo-service/main/assets/UndoRedoService.png
Preview Insert
Type image
Image/Video URL https://raw.githubusercontent.com/ComfyMitten/undo-redo-service/main/assets/UndoRedoServiceBanner.png
Thumbnail