Cleanup: Don't use camel case for variable names

This commit is contained in:
Sergey Sharybin 2017-12-19 11:53:11 +01:00
parent c34f3c777f
commit 71c93624e2
1 changed files with 5 additions and 4 deletions

View File

@ -2213,23 +2213,24 @@ static int sequencer_delete_exec(bContext *C, wmOperator *UNUSED(op))
Editing *ed = BKE_sequencer_editing_get(scene, false);
Sequence *seq;
MetaStack *ms;
bool nothingSelected = true;
bool nothing_selected = true;
seq = BKE_sequencer_active_get(scene);
if (seq && seq->flag & SELECT) { /* avoid a loop since this is likely to be selected */
nothingSelected = false;
nothing_selected = false;
}
else {
for (seq = ed->seqbasep->first; seq; seq = seq->next) {
if (seq->flag & SELECT) {
nothingSelected = false;
nothing_selected = false;
break;
}
}
}
if (nothingSelected)
if (nothing_selected) {
return OPERATOR_FINISHED;
}
/* for effects and modifiers, try to find a replacement input */
for (seq = ed->seqbasep->first; seq; seq = seq->next) {