From e531f3736df13d9143f4b4c7589d65b12df1ff1b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 10 Jul 2010 21:09:38 +0000 Subject: drawing in the timeline could change bezier keys while rendering, disable. --- source/blender/editors/space_time/space_time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index b2e1bfb9b93..b73c08e6542 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -473,7 +473,8 @@ static void time_main_area_draw(const bContext *C, ARegion *ar) UI_view2d_grid_free(grid); /* keyframes */ - time_draw_keyframes(C, stime, ar); + if(!G.rendering) /* ANIM_nla_mapping_apply_fcurve() modifies curve data while rendering, possible race condition */ + time_draw_keyframes(C, stime, ar); /* current frame */ if ((stime->flag & TIME_DRAWFRAMES)==0) flag |= DRAWCFRA_UNIT_SECONDS; -- cgit v1.2.3