Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_anim_acclaim/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/io_anim_acclaim/__init__.py b/io_anim_acclaim/__init__.py
index 1cf89738..6bc2e722 100644
--- a/io_anim_acclaim/__init__.py
+++ b/io_anim_acclaim/__init__.py
@@ -382,10 +382,12 @@ class AmcAnimator(bpy.types.Operator):
def modal(self, context, event):
if event.type == 'ESC':
- return self.cancel(context)
+ self.cancel(context)
+ return {'CANCELLED'}
if event.type == 'TIMER':
if not self.sb.apply_next_frame():
- return self.cancel(context)
+ self.cancel(context)
+ return {'FINISHED'}
return {'PASS_THROUGH'}
def execute(self, context):