remove return argument from wmOperatorType->cancel, was only ever returning OPERATOR_CANCELLED.

This commit is contained in:
Campbell Barton
2013-10-30 23:08:53 +00:00
parent bced18155f
commit 7267221715
47 changed files with 156 additions and 253 deletions

View File

@@ -29,7 +29,6 @@ class ModalTimerOperator(bpy.types.Operator):
def cancel(self, context):
wm = context.window_manager
wm.event_timer_remove(self._timer)
return {'CANCELLED'}
def register():