diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-12-12 11:34:34 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2018-12-12 11:36:46 +0300 |
commit | f2796da2e5b594368d6ef1e92b59cef75bcd819c (patch) | |
tree | 8b9aa9a0598112cac5fd83536405ea37e7884d9b /release | |
parent | e3122d34149b9c9ec3f57492c902b71703e002af (diff) |
PyTemplates operator_modal_timer: update to 2.8
use keyword argument
Fixes T59232
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/templates_py/operator_modal_timer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/operator_modal_timer.py b/release/scripts/templates_py/operator_modal_timer.py index df4d10e656b..12f1ebbc17d 100644 --- a/release/scripts/templates_py/operator_modal_timer.py +++ b/release/scripts/templates_py/operator_modal_timer.py @@ -23,7 +23,7 @@ class ModalTimerOperator(bpy.types.Operator): def execute(self, context): wm = context.window_manager - self._timer = wm.event_timer_add(0.1, context.window) + self._timer = wm.event_timer_add(0.1, window=context.window) wm.modal_handler_add(self) return {'RUNNING_MODAL'} |