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:
authorJacques Lucke <mail@jlucke.com>2018-11-26 22:25:15 +0300
committerJacques Lucke <mail@jlucke.com>2018-11-26 22:25:15 +0300
commitc1adf938e6c8ecaec805f4cf95c73480de1bf980 (patch)
tree2e097af6b8bbf8383463b0d4f54ad011321177ff /source/blender/windowmanager/intern/wm_event_system.c
parentd5778b5bc1663b14449c90d4bc0e84d56f64c156 (diff)
Timer: Generic BLI_timer with Python wrapper
There is a new `bpy.app.timers` api. For more details, look in the Python API documentation. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3994
Diffstat (limited to 'source/blender/windowmanager/intern/wm_event_system.c')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 576f5470069..fc2832ee4cb 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -51,6 +51,7 @@
#include "BLI_dynstr.h"
#include "BLI_utildefines.h"
#include "BLI_math.h"
+#include "BLI_timer.h"
#include "BKE_context.h"
#include "BKE_idprop.h"
@@ -372,6 +373,8 @@ void wm_event_do_notifiers(bContext *C)
if (wm == NULL)
return;
+ BLI_timer_execute();
+
/* disable? - keep for now since its used for window level notifiers. */
#if 1
/* cache & catch WM level notifiers, such as frame change, scene/screen set */