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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 16:37:11 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-05-25 16:37:11 +0400
commitad65b7b86b85aba39a2e686c6c5aacdec2c1b3ff (patch)
tree21e8cf6e93a5a45efbe22aba69d914b60fd487ee /source/blender/editors/space_view3d/view3d_draw.c
parent942fcf44150aea4eea8e0f44de6b05229bb7c182 (diff)
Animation playback: now all windows are update during playback, rather than
just the active window.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index f7014bb51eb..0019839aa4f 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2997,7 +2997,6 @@ static void view3d_main_area_draw_info(const bContext *C, ARegion *ar, const cha
Scene *scene = CTX_data_scene(C);
View3D *v3d = CTX_wm_view3d(C);
RegionView3D *rv3d = CTX_wm_region_view3d(C);
- bScreen *screen = CTX_wm_screen(C);
Object *ob;
@@ -3026,7 +3025,7 @@ static void view3d_main_area_draw_info(const bContext *C, ARegion *ar, const cha
return;
}
- if ((U.uiflag & USER_SHOW_FPS) && screen->animtimer) {
+ if ((U.uiflag & USER_SHOW_FPS) && ED_screen_animation_playing(C)) {
draw_viewport_fps(scene, ar);
}
else if (U.uiflag & USER_SHOW_VIEWPORTNAME) {