circle select modal operator wasnt returning FINISHED so it wasnt getting an undo push

This commit is contained in:
Campbell Barton
2009-12-01 19:43:09 +00:00
parent 9f251ce301
commit 9bf3845539

View File

@@ -1955,7 +1955,7 @@ int WM_gesture_circle_modal(bContext *C, wmOperator *op, wmEvent *event)
case GESTURE_MODAL_CANCEL:
case GESTURE_MODAL_CONFIRM:
wm_gesture_end(C, op);
return OPERATOR_CANCELLED;
return OPERATOR_FINISHED; /* use finish or we dont get an undo */
}
}
// // Allow view navigation???