[Cin] Possible hack/idea for automatically workaround clearing wrong keyframes?
Andrew Randrianasulu
randrianasulu at gmail.com
Tue Sep 1 18:05:56 CEST 2020
So, I looked into mainmenu.C and there I can see
(searching for ClearKeyframes)
int ClearKeyframes::handle_event()
{
if( mwindow->session->current_operation == NO_OPERATION )
mwindow->clear_automation();
return 1;
}
and for "keyframes_follow_edits"
I see
keyframes_follow_edits->set_checked(mwindow->edl->session->autos_follow_edits);
so, may be save this state into tmp variable, test this mwindow->edl->session->autos_follow_edits ,
and if set to 1 - clear temporarily before calling mwindow->clear_automation(); and restore
from tmp variable afterwards?
More information about the Cin
mailing list