Fix T77764: VSE: snap strip to current frame does not move associated
effect strips keyframes along Maniphest Tasks: T77764 Differential Revision: https://developer.blender.org/D7996
This commit is contained in:
parent
dbf96e6252
commit
e36c05b3d1
Notes:
blender-bot
2023-02-14 07:40:56 +01:00
Referenced by commit 5501a5de32
, Fix T84705: Snapping strip handle offset animation
Referenced by issue #77764, VSE: snap strip to current frame does not move associated effect strips keyframes along
|
@ -1417,12 +1417,15 @@ static int sequencer_snap_exec(bContext *C, wmOperator *op)
|
|||
for (seq = ed->seqbasep->first; seq; seq = seq->next) {
|
||||
if (seq->type & SEQ_TYPE_EFFECT) {
|
||||
if (seq->seq1 && (seq->seq1->flag & SELECT)) {
|
||||
BKE_sequencer_offset_animdata(scene, seq, (snap_frame - seq->startdisp));
|
||||
BKE_sequence_calc(scene, seq);
|
||||
}
|
||||
else if (seq->seq2 && (seq->seq2->flag & SELECT)) {
|
||||
BKE_sequencer_offset_animdata(scene, seq, (snap_frame - seq->startdisp));
|
||||
BKE_sequence_calc(scene, seq);
|
||||
}
|
||||
else if (seq->seq3 && (seq->seq3->flag & SELECT)) {
|
||||
BKE_sequencer_offset_animdata(scene, seq, (snap_frame - seq->startdisp));
|
||||
BKE_sequence_calc(scene, seq);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue