diff options
Diffstat (limited to 'source/blender/editors/space_sequencer')
3 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 6b4ae406b2b..49d7e6a2f33 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -513,7 +513,7 @@ static void draw_seq_text(View2D *v2d, Sequence *seq, float x1, float x2, float if(seq->flag & SELECT){ cpack(0xFFFFFF); }else if ((((int)background_col[0] + (int)background_col[1] + (int)background_col[2]) / 3) < 50){ - cpack(0x505050); /* use lighter text colour for dark background */ + cpack(0x505050); /* use lighter text color for dark background */ }else{ cpack(0); } diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 8b5580cf0c2..9cc98556cba 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -923,12 +923,12 @@ static int cut_seq_list(Scene *scene, ListBase *old, ListBase *new, int cutframe Sequence * (*cut_seq)(Scene *, Sequence *, int)) { int did_something = FALSE; - Sequence *seq, *seq_next; + Sequence *seq, *seq_next_iter; seq= old->first; while(seq) { - seq_next = seq->next; /* we need this because we may remove seq */ + seq_next_iter = seq->next; /* we need this because we may remove seq */ seq->tmp= NULL; if(seq->flag & SELECT) { @@ -947,7 +947,7 @@ static int cut_seq_list(Scene *scene, ListBase *old, ListBase *new, int cutframe BLI_addtail(new, seq); } } - seq = seq_next; + seq = seq_next_iter; } return did_something; } @@ -1781,7 +1781,7 @@ static int sequencer_separate_images_exec(bContext *C, wmOperator *op) Scene *scene= CTX_data_scene(C); Editing *ed= seq_give_editing(scene, FALSE); - Sequence *seq, *seq_new, *seq_next; + Sequence *seq, *seq_new, *seq_next_iter; Strip *strip_new; StripElem *se, *se_new; int start_ofs, cfra, frame_end; @@ -1793,7 +1793,7 @@ static int sequencer_separate_images_exec(bContext *C, wmOperator *op) if((seq->flag & SELECT) && (seq->type == SEQ_IMAGE) && (seq->len > 1)) { /* remove seq so overlap tests dont conflict, see seq_free_sequence below for the real free'ing */ - seq_next = seq->next; + seq_next_iter = seq->next; BLI_remlink(ed->seqbasep, seq); /* if(seq->ipo) seq->ipo->id.us--; */ /* XXX, remove fcurve and assign to split image strips */ diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index 720aa098ff6..a2eefe6ee54 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -363,16 +363,16 @@ static int sequencer_select_invoke(bContext *C, wmOperator *op, wmEvent *event) { SpaceSeq *sseq= CTX_wm_space_seq(C); if (sseq && sseq->flag & SEQ_MARKER_TRANS) { - TimeMarker *marker; + TimeMarker *tmarker; - for (marker= scene->markers.first; marker; marker= marker->next) { - if( ((x < CFRA) && marker->frame < CFRA) || - ((x >= CFRA) && marker->frame >= CFRA) + for (tmarker= scene->markers.first; tmarker; tmarker= tmarker->next) { + if( ((x < CFRA) && tmarker->frame < CFRA) || + ((x >= CFRA) && tmarker->frame >= CFRA) ) { - marker->flag |= SELECT; + tmarker->flag |= SELECT; } else { - marker->flag &= ~SELECT; + tmarker->flag &= ~SELECT; } } } |