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

---
 io_anim_acclaim/__init__.py     | 1 -
 io_anim_c3d/__init__.py         | 1 -
 space_view3d_screencast_keys.py | 1 -
 system_demo_mode/demo_mode.py   | 1 -
 4 files changed, 4 deletions(-)

diff --git a/io_anim_acclaim/__init__.py b/io_anim_acclaim/__init__.py
index e47f50feb..d929a44c6 100644
--- a/io_anim_acclaim/__init__.py
+++ b/io_anim_acclaim/__init__.py
@@ -399,7 +399,6 @@ class AmcAnimator(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'}
 
 
 class AmcImporter(bpy.types.Operator):
diff --git a/io_anim_c3d/__init__.py b/io_anim_c3d/__init__.py
index 027045528..0f918fdfd 100644
--- a/io_anim_c3d/__init__.py
+++ b/io_anim_c3d/__init__.py
@@ -95,7 +95,6 @@ class C3DAnimateCloud(bpy.types.Operator):
     def cancel(self, context):
         bpy.context.scene.frame_set(bpy.context.scene.frame_current)
         context.window_manager.event_timer_remove(self.timer)
-        return {'CANCELLED'}
 
 
 class C3DImporter(bpy.types.Operator):
diff --git a/space_view3d_screencast_keys.py b/space_view3d_screencast_keys.py
index b93698cbb..f568c31ab 100644
--- a/space_view3d_screencast_keys.py
+++ b/space_view3d_screencast_keys.py
@@ -603,7 +603,6 @@ class ScreencastKeysStatus(bpy.types.Operator):
         if context.window_manager.screencast_keys_keys:
             ScreencastKeysStatus.handle_remove(context)
             context.window_manager.screencast_keys_keys = False
-        return {'CANCELLED'}
 
     def invoke(self, context, event):
         if context.area.type == 'VIEW_3D':
diff --git a/system_demo_mode/demo_mode.py b/system_demo_mode/demo_mode.py
index 740dc50a3..b7986b737 100644
--- a/system_demo_mode/demo_mode.py
+++ b/system_demo_mode/demo_mode.py
@@ -404,7 +404,6 @@ class DemoMode(bpy.types.Operator):
         print("func:DemoMode.cancel")
         # disable here means no running on file-load.
         self.cleanup()
-        return {'CANCELLED'}
 
     # call from DemoModeControl
     @classmethod
-- 
GitLab