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-01-21 13:28:19 +0300
committerJoshua Leung <aligorith@gmail.com>2010-01-21 13:28:19 +0300
commit9d54d6ba4e78e83350742b40f9f14ffb5cb8d2f1 (patch)
tree15eb7cc73f097206d2250f09a013b1ad68b2a8e8 /source/blender/makesdna
parentda3abc78a24e572baa61a0b7eb24dc6b031958ae (diff)
Patch #20693: add parameters for FPS and wait timer for screen cast
This patch by Guillaume Lecocq (lguillaume) adds user preference settings for setting the playback frame-rate and delay between captured frames for the screencasting feature. -- I've made a few tweaks for a few minor issues - Made DNA vars for these settings shorts instead of ints, reducing the number of unnecessary extra pad vars - Added version patching to ensure that these settings are initialised by default - Made tooltips for the settings more descriptive
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index fc7b41871d4..55eba879865 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -341,7 +341,10 @@ typedef struct UserDef {
short ndof_pan, ndof_rotate;
short curssize, ipo_new;
short color_picker_type;
- short pad2[3];
+ short pad2;
+
+ short scrcastfps; /* frame rate for screencast to be played back */
+ short scrcastwait; /* milliseconds between screencast snapshots */
char versemaster[160];
char verseuser[160];