From 69d7215d3ac5eed5c52df8e4f62d2f0b770eb23e Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Thu, 31 Oct 2013 12:07:42 +0000
Subject: [PATCH] update for change in blender.

---
 cmu_mocap_browser/download.py      | 1 -
 cmu_mocap_browser/makehuman.py     | 1 -
 io_import_sound_to_anim.py         | 1 -
 space_view3d_enhanced_3d_cursor.py | 4 ----
 4 files changed, 7 deletions(-)

diff --git a/cmu_mocap_browser/download.py b/cmu_mocap_browser/download.py
index 504e3bd7..b4d4a094 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 9055daa4..6c5c951f 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 4a056566..9f0defd6 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 f06daf39..0cf97c28 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():
-- 
GitLab