-
Notifications
You must be signed in to change notification settings - Fork 23
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
None timeline load #86
base: main
Are you sure you want to change the base?
None timeline load #86
Conversation
Signed-off-by: Thomas Wilshaw <thomaswilshaw@gmail.com>
Signed-off-by: Thomas Wilshaw <thomaswilshaw@gmail.com>
Yes, this strategy seems like a good start. You could go one step further and keep Once loaded, then the call to |
Side note for future reference: after the work in this PR is complete, we can implement #72 by making a double-click on a nested composable switch the |
I'm having a little trouble with this. I've replaced
I think this is probably because I don't fully inderstand how |
We now store the root OTIO object that is opened (whatever type it is) and we handle it based on its schema type. Signed-off-by: Thomas Wilshaw <thomaswilshaw@gmail.com>
I've updated things to store the root OTIO object rather than assuming a timeline and it more or less seems to work. I'm still having an issue where |
Hmm... I tried it out, and I attempted to diagnose the to_json_string issue - it feels like the returned string is getting deallocated. I can print it within the function, but it gets lost later. I'm suspicious of the switch from I'll have to return to this when I have my C++ brain turned back on. I've been writing Swift and Python lately, so the rules of engagement are fuzzy in my head right now. 😳 The needed info is likely in here: https://opentimelineio.readthedocs.io/en/stable/cxx/cxx.html#memory-management |
I made a start at #23 and I've managed to (I think) sensibly handle none
Timeline
schemas. I started looking at suppporting just clips and had a couple of questions:app.cpp:912
was causing theselected_object
state to be cleared leading to crashes. Commenting it out fixes the issue but I can't figure out why it's happening in the first place.This is very much still a WIP but I wanted to check it was heading in the right direction before I go any further.