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:
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 15852941ca6..70e804758b2 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -234,8 +234,15 @@ void wm_event_do_notifiers(bContext *C)
}
}
if(do_anim) {
- /* depsgraph gets called, might send more notifiers */
- ED_update_for_newframe(C, 1);
+
+ /* XXX, quick frame changes can cause a crash if framechange and rendering
+ * collide (happens on slow scenes), scene_update_for_newframe can be called
+ * twice which can depgraph update the same object at once */
+ if(!G.rendering) {
+
+ /* depsgraph gets called, might send more notifiers */
+ ED_update_for_newframe(C, 1);
+ }
}
}