Bugfix #21051: Restored 'Playback FPS'
authorJoshua Leung <aligorith@gmail.com>
Fri, 12 Feb 2010 00:44:26 +0000 (00:44 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 12 Feb 2010 00:44:26 +0000 (00:44 +0000)
commitb482b8543eb10102c6c09756e08977a3b69ff633
tree4532177f73045cc5cdb3582766d1e121604a53a1
parentf0e873cabe0797c74fba440c8b11b4e2c038f791
Bugfix #21051: Restored 'Playback FPS'

This commit restores the 'Playback FPS' option which showed an indicator of the frame rate of animation playback in the 3D-View.

The info for this is now stored in a temp struct in scene data, with the status info being updated by the "animation step" operator instead of relying on globals as the old code did. This seems a lot more stable than in 2.49, but the accuracy is still questionable.
source/blender/blenkernel/intern/scene.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/ED_screen.h
source/blender/editors/include/ED_screen_types.h
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/makesdna/DNA_scene_types.h