Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/strip_transform.c
| Show First 20 Lines • Show All 389 Lines • ▼ Show 20 Lines | LISTBASE_FOREACH (TimeMarker *, marker, &scene->markers) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| bool SEQ_transform_is_locked(ListBase *channels, Sequence *seq) | bool SEQ_transform_is_locked(ListBase *channels, Sequence *seq) | ||||
| { | { | ||||
| SeqTimelineChannel *channel = SEQ_channel_get_by_index(channels, seq->machine); | SeqTimelineChannel *channel = SEQ_channel_get_by_index(channels, seq->machine); | ||||
| return seq->flag & SEQ_LOCK || SEQ_channel_is_locked(channel); | return seq->flag & SEQ_LOCK || | ||||
| (SEQ_channel_is_locked(channel) && ((seq->flag & SEQ_IGNORE_CHANNEL_LOCK) == 0)); | |||||
| } | } | ||||
| void SEQ_image_transform_mirror_factor_get(const Sequence *seq, float r_mirror[2]) | void SEQ_image_transform_mirror_factor_get(const Sequence *seq, float r_mirror[2]) | ||||
| { | { | ||||
| r_mirror[0] = 1.0f; | r_mirror[0] = 1.0f; | ||||
| r_mirror[1] = 1.0f; | r_mirror[1] = 1.0f; | ||||
| if ((seq->flag & SEQ_FLIPX) != 0) { | if ((seq->flag & SEQ_FLIPX) != 0) { | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||