diff --git a/cmu_mocap_browser/download.py b/cmu_mocap_browser/download.py index 504e3bd77fc13d488b5a4cf2dea8ebdc0101bab7..b4d4a0943e4877e8697a786fcae21dfddc6d5746 100644 --- a/cmu_mocap_browser/download.py +++ b/cmu_mocap_browser/download.py @@ -99,7 +99,6 @@ class CMUMocapDownloadImport(bpy.types.Operator): cml = context.user_preferences.addons['cmu_mocap_browser'].preferences if os.path.exists(self.local_file): self.import_or_open(cml) - return {'CANCELLED'} def execute(self, context): cml = context.user_preferences.addons['cmu_mocap_browser'].preferences diff --git a/cmu_mocap_browser/makehuman.py b/cmu_mocap_browser/makehuman.py index 9055daa42ba6b21a37f1218940965321eb6a4f2d..6c5c951facd4024a9ae5296a8d5fb025f42e5b02 100644 --- a/cmu_mocap_browser/makehuman.py +++ b/cmu_mocap_browser/makehuman.py @@ -296,5 +296,4 @@ class CMUMocapTransferer(bpy.types.Operator): bpy.context.scene.frame_set(bpy.context.scene.frame_current) context.window_manager.event_timer_remove(self.timer) bpy.ops.object.mode_set(mode='OBJECT') - return {'CANCELLED'} diff --git a/io_import_sound_to_anim.py b/io_import_sound_to_anim.py index 4a0565668f2f15e2db11b6afb015207a44f1d49d..9f0defd664cd8aa644ee8bc7066da2d69f48affe 100644 --- a/io_import_sound_to_anim.py +++ b/io_import_sound_to_anim.py @@ -1889,7 +1889,6 @@ class ModalTimerOperator(bpy.types.Operator): if self._timer!= None: context.window_manager.event_timer_remove(self._timer) self._timer= None - return {'CANCELLED'} def parar(self, context): if self.Running: diff --git a/space_view3d_enhanced_3d_cursor.py b/space_view3d_enhanced_3d_cursor.py index f06daf39724a32517f0beb9c9d60911c0e53e6fa..0cf97c282fccda2dd59e1fe19acc2f52fbb8af60 100644 --- a/space_view3d_enhanced_3d_cursor.py +++ b/space_view3d_enhanced_3d_cursor.py @@ -319,7 +319,6 @@ class EnhancedSetCursor(bpy.types.Operator): set_stick_obj(context.scene, self.stick_obj_name, self.stick_obj_pos) self.finalize(context) - return {'CANCELLED'} # ====== CLEANUP/FINALIZE ====== # def finalize(self, context): @@ -4730,7 +4729,6 @@ class CursorMonitor(bpy.types.Operator): # Unregister callbacks... CursorMonitor.handle_remove(context) - return {'CANCELLED'} # ===== MATH / GEOMETRY UTILITIES ===== # @@ -5513,8 +5511,6 @@ class DelayRegistrationOperator(bpy.types.Operator): def cancel(self, context): DelayRegistrationOperator.timer_remove(context) - - return {'CANCELLED'} def register():