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?
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin