Skip to content

Conversation

@eloisebrosseau
Copy link
Contributor

SG-41208: Add softDeleted paint node property to support undo, redo and clear actions in Live Review

Summarize your change.

A softDeleted property was added for each paint node stroke to support undo, redo and clear actions for OTIO-based Live Review. This new property is following the same pattern as the new uuid property. These aren't known by the C++ code responsible for rendering annotations, they are simply used to help with keeping the Annotate and the Live Review package synchronized in terms of the state of each annotation. For each undo, redo and clear action, the Annotate Mode will send an internal event with the least of stroke uuids affected by the action. The name field in the OTIO Paint schema was completely removed since it was decided it was actually needed since it isn't an OTIO effect.

Describe the reason for the change.

The softDeleted property was already added as a field in the OTIO Paint schema but it was also added as an RV node property to facilitate the interaction between the Live Review plugin that needs this information and the Annotate mode that is making the action.

Describe what you have tested and on which operating system.

Drawing, undoing, redoing and clearing strokes was tested on macOS 15.6.1.

Add a list of changes, and note any that might need special attention during the review.

Note that this PR branch is based for the moment on #1021 so the changes to review are only the ones from Dec 16th.

Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Signed-off-by: Éloïse Brosseau <eloise.brosseau@autodesk.com>
Copy link
Contributor

@bernie-laberge bernie-laberge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eloisebrosseau eloisebrosseau merged commit fe14d08 into AcademySoftwareFoundation:main Dec 18, 2025
19 checks passed
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