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:
authorJoshua Leung <aligorith@gmail.com>2010-02-12 03:44:26 +0300
committerJoshua Leung <aligorith@gmail.com>2010-02-12 03:44:26 +0300
commitb482b8543eb10102c6c09756e08977a3b69ff633 (patch)
tree4532177f73045cc5cdb3582766d1e121604a53a1 /source/blender/makesdna/DNA_scene_types.h
parentf0e873cabe0797c74fba440c8b11b4e2c038f791 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 204af647b3a..0138234850e 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -761,6 +761,8 @@ typedef struct Scene {
void *sound_scene;
void *sound_scene_handle;
+ void *fps_info; /* (runtime) info/cache used for presenting playback framerate info to the user */
+
/* none of the dependancy graph vars is mean to be saved */
struct DagForest *theDag;
short dagisvalid, dagflags;