diff options
Diffstat (limited to 'source/blender/editors/animation/anim_ops.c')
-rw-r--r-- | source/blender/editors/animation/anim_ops.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c index c08b902a13e..ff9521f1ebd 100644 --- a/source/blender/editors/animation/anim_ops.c +++ b/source/blender/editors/animation/anim_ops.c @@ -26,6 +26,11 @@ * ***** END GPL LICENSE BLOCK ***** */ +/** \file blender/editors/animation/anim_ops.c + * \ingroup edanimation + */ + + #include <stdlib.h> #include <math.h> @@ -37,6 +42,7 @@ #include "DNA_scene_types.h" #include "BKE_context.h" +#include "BKE_global.h" #include "BKE_sound.h" #include "UI_view2d.h" @@ -59,6 +65,9 @@ static int change_frame_poll(bContext *C) { ScrArea *curarea= CTX_wm_area(C); + /* XXX temp? prevent changes during render */ + if(G.rendering) return 0; + /* as long as there is an active area, and it isn't a Graph Editor * (since the Graph Editor has its own version which does extra stuff), * we're fine |