Cleanup: Remove pre-2.5 ifdef'ed piece of code.

This commit is contained in:
Bastien Montagne 2019-04-29 15:21:08 +02:00
parent ab62a5db49
commit e4b9836c53
1 changed files with 0 additions and 18 deletions

View File

@ -537,24 +537,6 @@ static int sequencer_select_invoke(bContext *C, wmOperator *op, const wmEvent *e
}
}
/* marker transform */
#if 0 // XXX probably need to redo this differently for 2.5
if (marker) {
int mval[2], xo, yo;
// getmouseco_areawin(mval);
xo = mval[0];
yo = mval[1];
while (get_mbut()) {
// getmouseco_areawin(mval);
if (abs(mval[0] - xo) + abs(mval[1] - yo) > 4) {
transform_markers('g', 0);
return;
}
}
}
#endif
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER | NA_SELECTED, scene);
/* allowing tweaks */