SG-41173: Add uuid and soft_deleted properties for OTIO-based Live Review #1021
+197
−69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SG-41173: Add uuid and soft_deleted properties for OTIO-based Live Review
Summarize your change.
generateUuid()findStrokeByUuid()to retrieve the RV node string based on its uuidsoft_deletedas a new OTIO Paint schema property required in the new PAINT_BATCH_UPDATE payloadDescribe the reason for the change.
These changes are needed to match the new requirements for undo-redo in OTIO-based Live Review sessions. All strokes drawn are received will identified via a uuid to manage their state. The
soft_deletedproperty will be used to know if the stroke should be rendered or not. Note that the behaviour of the annotate mode should be the same as before. The only difference is that strokes are tracked through their uuid instead of their RV node string to facilitate the new implementation of undo-redo required for Live Review. This PR is needed for a second PR that will be created soon on the Commercial RV repo.Describe what you have tested and on which operating system.
Drawing, undoing, redoing and clearing strokes was tested on macOS 15.6.1 with RV standalone and between two instances of RV in an OTIO-based Live Review session