diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-25 16:37:11 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-25 16:37:11 +0400 |
commit | ad65b7b86b85aba39a2e686c6c5aacdec2c1b3ff (patch) | |
tree | 21e8cf6e93a5a45efbe22aba69d914b60fd487ee /source/blender/editors/transform/transform_generics.c | |
parent | 942fcf44150aea4eea8e0f44de6b05229bb7c182 (diff) |
Animation playback: now all windows are update during playback, rather than
just the active window.
Diffstat (limited to 'source/blender/editors/transform/transform_generics.c')
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index 23c1fba6107..dd8af64c15d 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -93,6 +93,7 @@ #include "ED_view3d.h" #include "ED_curve.h" /* for curve_editnurbs */ #include "ED_clip.h" +#include "ED_screen.h" //#include "BDR_unwrapper.h" @@ -1038,9 +1039,10 @@ int initTransInfo(bContext *C, TransInfo *t, wmOperator *op, wmEvent *event) if (t->spacetype == SPACE_VIEW3D) { View3D *v3d = sa->spacedata.first; + bScreen *animscreen = ED_screen_animation_playing(C); t->view = v3d; - t->animtimer= CTX_wm_screen(C)->animtimer; + t->animtimer= (animscreen)? animscreen->animtimer: NULL; /* turn manipulator off during transform */ // FIXME: but don't do this when USING the manipulator... |