diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-03-19 10:32:36 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-03-19 10:32:36 +0300 |
commit | 8b4b8d4dd21f277ceb71a89b2ea62f7398f33099 (patch) | |
tree | 0b2cb6817d8710e84167af36e44258f127ca87bb /source/blender/src/editscreen.c | |
parent | 819fc06a80269012dcf920b5dc2f79bf4b417149 (diff) |
== Preview Range ==
Preview Range is a useful tool for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.
Hi Ton,
Attached is a patch (I know you've already got lots of them in the tracker ;-) ) for a feature that I've sometimes wanted. It seems that this sort of thing is supported in other packages, but I can't be sure.
Note: I may have left in a few bits and pieces I didn't mean to in the patch (this is off a source tree which had quite a few revisions in it, all of which was experimental)
== Preview Range ==
Preview range is useful for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.
* 'Ctrl P' in Action/NLA/Timeline sets preview range. Click+drag to form selection-box defining region of frames to preview
* 'Alt P' in Action/NLA/Timeline to clear preview range
* 'Pre' button beside Start/End fields in timeline toggles whether start/end fields refer to scene or preview
* 'Ctrl Rightarrow' and 'Ctrl Leftarrow' jump to start/end of preview region when it is set
* 'S' and 'E' set the start/end frames of preview region when it is set (just like normally) in Timeline only
* In Action/NLA editors, frames out of preview region are now drawn darkened when preview-region is set
See the following page for more info later:
http://wiki.blender.org/index.php/User:Aligorith/Preview_Range
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r-- | source/blender/src/editscreen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c index 801e9727999..64481a3e31b 100644 --- a/source/blender/src/editscreen.c +++ b/source/blender/src/editscreen.c @@ -1054,8 +1054,8 @@ int has_screenhandler(bScreen *sc, short eventcode) static void animated_screen(bScreen *sc, short val) { if (U.mixbufsize && (val & TIME_WITH_SEQ_AUDIO)) { - if(CFRA>=EFRA) { - CFRA= SFRA; + if(CFRA>=PEFRA) { + CFRA= PSFRA; audiostream_stop(); audiostream_start( CFRA ); } @@ -1067,7 +1067,7 @@ static void animated_screen(bScreen *sc, short val) } else { CFRA++; - if(CFRA > EFRA) CFRA= SFRA; + if(CFRA > PEFRA) CFRA= PSFRA; } update_for_newframe_nodraw(1); |