diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-06 03:01:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-06 03:01:55 +0400 |
commit | 0121d1744cace2c36f56fba417d8cb7098768ae3 (patch) | |
tree | db9ba291c87c86f409dce3d55229386e04b3e41b /io_anim_c3d | |
parent | 42426f816bafae5d863f16dcb05135dfa773e387 (diff) |
code cleanup: ensure modal_handler_add() is called directly before returning.
Diffstat (limited to 'io_anim_c3d')
-rw-r--r-- | io_anim_c3d/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_c3d/__init__.py b/io_anim_c3d/__init__.py index ffd3658c..8741c252 100644 --- a/io_anim_c3d/__init__.py +++ b/io_anim_c3d/__init__.py @@ -87,9 +87,9 @@ class C3DAnimateCloud(bpy.types.Operator): return {'PASS_THROUGH'} def execute(self, context): - context.window_manager.modal_handler_add(self) self.timer = context.window_manager.\ event_timer_add(0.001, context.window) + context.window_manager.modal_handler_add(self) return {'RUNNING_MODAL'} def cancel(self, context): |