-
Notifications
You must be signed in to change notification settings - Fork 297
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
Edit commands #1650
Edit commands #1650
Conversation
Signed-off-by: Darby Johnston <[email protected]>
Added errorStatus. Finished unit tests.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1650 +/- ##
==========================================
- Coverage 79.91% 79.90% -0.01%
==========================================
Files 197 197
Lines 21731 21733 +2
Branches 4339 4340 +1
==========================================
Hits 17366 17366
- Misses 2213 2215 +2
Partials 2152 2152
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
This looks pretty cool! Have incorporated these commands into an app, or have they been exercised through the unit tests, so far? |
For the time being, only the unit tests, which I tried to be thorough. Darby is working on adding a GUI front end to tlRender and he may be incorporating these commands. |
Signed-off-by: Gonzalo Garramuño [email protected]
This commit is for:
Implements #1649.
Makes PR #1518 obsolete.
It implements edit commands in the otio::algo:: namespace. The commands implemented are those discussed in #711.
They are further explained more clearly in:
https://github.com/mccartnm/OpenTimelineIO/blob/openedit_design/docs/design/editorial_design.md
Summarize your change.
It implements the needed base commands for editing with otio, building on top of @darbyjohnston's PR.
@darbyjohnston 's PR #1518 was the base for it, but I debugged two subtle precision bugs in his code and moved it all to the algo:: namespace.
Implementation also modifies errorStatus.h/cpp to add NOT_A_GAP enum.
Implementation, as @darbyjohnston's, makes Composition's protected _index_of_child a now public member of the API as index_of_child and updates track.cpp accordingly.
Reference associated tests.
test_editAlgorithm.cpp is added as in @darbyjohnston, but with tests for all commands.