Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.c
| Show First 20 Lines • Show All 1,886 Lines • ▼ Show 20 Lines | if (t->options & CTX_GPENCIL_STROKES) { | ||||
| /* pass */ | /* pass */ | ||||
| } | } | ||||
| else if (t->spacetype == SPACE_SEQ) { | else if (t->spacetype == SPACE_SEQ) { | ||||
| /* freeSeqData in transform_conversions.c does this | /* freeSeqData in transform_conversions.c does this | ||||
| * keep here so the else at the end wont run... */ | * keep here so the else at the end wont run... */ | ||||
| SpaceSeq *sseq = (SpaceSeq *)t->sa->spacedata.first; | SpaceSeq *sseq = (SpaceSeq *)t->sa->spacedata.first; | ||||
| /* marker transform, not especially nice but we may want to move markers | /* Marker transform, not especially nice but we may want to move markers | ||||
| * at the same time as keyframes in the dope sheet. */ | * at the same time as strips in the Video Sequencer. */ | ||||
| if ((sseq->flag & SEQ_MARKER_TRANS) && (canceled == 0)) { | if ((sseq->flag & SEQ_MARKER_TRANS) && (canceled == 0)) { | ||||
| /* cant use TFM_TIME_EXTEND | /* cant use TFM_TIME_EXTEND | ||||
| * for some reason EXTEND is changed into TRANSLATE, so use frame_side instead */ | * for some reason EXTEND is changed into TRANSLATE, so use frame_side instead */ | ||||
| if (t->mode == TFM_SEQ_SLIDE) { | if (t->mode == TFM_SEQ_SLIDE) { | ||||
| if (t->frame_side == 'B') { | if (t->frame_side == 'B') { | ||||
| ED_markers_post_apply_transform( | ED_markers_post_apply_transform( | ||||
| &t->scene->markers, t->scene, TFM_TIME_TRANSLATE, t->values[0], t->frame_side); | &t->scene->markers, t->scene, TFM_TIME_TRANSLATE, t->values[0], t->frame_side); | ||||
| ▲ Show 20 Lines • Show All 850 Lines • Show Last 20 Lines | |||||