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:
authorMatt Ebb <matt@mke3.net>2005-09-13 13:52:00 +0400
committerMatt Ebb <matt@mke3.net>2005-09-13 13:52:00 +0400
commit0af69ddd095c04aa10f4fb9753a0eb0e34c9a182 (patch)
tree95f18b27b75c60ac0971fb29901d90f39790cf2a /source/blender/src/header_info.c
parentc27799910f48d5c03a2211cde3964d4a82ebd8dc (diff)
* Added hotkeys for rendering animation (Ctrl F12) and playing back
animation (Ctrl F11) similar to rendering a still with F12 and showing it in the buffer with F11.
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r--source/blender/src/header_info.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index 1f1aaeb84c1..e2bb0fc4f9d 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -1464,8 +1464,7 @@ static void do_info_rendermenu(void *arg, int event)
{
char file[FILE_MAXDIR+FILE_MAXFILE];
- extern void makeavistring(char *string);
- extern void makeqtstring (char *string);
+ extern void playback_anim();
switch(event) {
@@ -1483,22 +1482,7 @@ static void do_info_rendermenu(void *arg, int event)
BIF_toggle_render_display();
break;
case 5:
-#ifdef WITH_QUICKTIME
- if(G.scene->r.imtype == R_QUICKTIME)
- makeqtstring(file);
- else
-#endif
- makeavistring(file);
- if(BLI_exist(file)) {
- run_playanim(file);
- }
- else {
- makepicstring(file, G.scene->r.sfra);
- if(BLI_exist(file)) {
- run_playanim(file);
- }
- else error("Can't find image: %s", file);
- }
+ playback_anim();
break;
case 6:
/* dodgy hack turning on SHIFT key to do a proper render border select