drawing in the timeline could change bezier keys while rendering, disable.

This commit is contained in:
2010-07-10 21:09:38 +00:00
parent 22371e8816
commit e531f3736d

View File

@@ -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;