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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2018-12-12 11:34:34 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-12-12 11:36:46 +0300
commitf2796da2e5b594368d6ef1e92b59cef75bcd819c (patch)
tree8b9aa9a0598112cac5fd83536405ea37e7884d9b /release/scripts/templates_py
parente3122d34149b9c9ec3f57492c902b71703e002af (diff)
PyTemplates operator_modal_timer: update to 2.8
use keyword argument Fixes T59232
Diffstat (limited to 'release/scripts/templates_py')
-rw-r--r--release/scripts/templates_py/operator_modal_timer.py2
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'}