fix [#28023] VSE: Transform Markers doesn't do anything
- renamed to 'Sync Markers' to match action editor. - action editor option was broken in the same way as the sequencer.
This commit is contained in:
@@ -4780,10 +4780,10 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
|
||||
|
||||
if(t->mode == TFM_SEQ_SLIDE) {
|
||||
if(t->frame_side == 'B')
|
||||
ED_markers_post_apply_transform(&t->scene->markers, t->scene, TFM_TIME_TRANSLATE, t->vec[0], t->frame_side);
|
||||
ED_markers_post_apply_transform(&t->scene->markers, t->scene, TFM_TIME_TRANSLATE, t->values[0], t->frame_side);
|
||||
}
|
||||
else if (ELEM(t->frame_side, 'L', 'R')) {
|
||||
ED_markers_post_apply_transform(&t->scene->markers, t->scene, TFM_TIME_EXTEND, t->vec[0], t->frame_side);
|
||||
ED_markers_post_apply_transform(&t->scene->markers, t->scene, TFM_TIME_EXTEND, t->values[0], t->frame_side);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4892,16 +4892,16 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
|
||||
#if 0
|
||||
if (ELEM(t->frame_side, 'L', 'R')) { /* TFM_TIME_EXTEND */
|
||||
/* same as below */
|
||||
ED_markers_post_apply_transform(ED_context_get_markers(C), t->scene, t->mode, t->vec[0], t->frame_side);
|
||||
ED_markers_post_apply_transform(ED_context_get_markers(C), t->scene, t->mode, t->values[0], t->frame_side);
|
||||
}
|
||||
else /* TFM_TIME_TRANSLATE */
|
||||
#endif
|
||||
{
|
||||
ED_markers_post_apply_transform(ED_context_get_markers(C), t->scene, t->mode, t->vec[0], t->frame_side);
|
||||
ED_markers_post_apply_transform(ED_context_get_markers(C), t->scene, t->mode, t->values[0], t->frame_side);
|
||||
}
|
||||
}
|
||||
else if (t->mode == TFM_TIME_SCALE) {
|
||||
ED_markers_post_apply_transform(ED_context_get_markers(C), t->scene, t->mode, t->vec[0], t->frame_side);
|
||||
ED_markers_post_apply_transform(ED_context_get_markers(C), t->scene, t->mode, t->values[0], t->frame_side);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user