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:
authorDiego Borghetti <bdiego@gmail.com>2008-09-20 01:57:15 +0400
committerDiego Borghetti <bdiego@gmail.com>2008-09-20 01:57:15 +0400
commit4f737bafa7c5366a2bf4c69d6e2b1c77ff64c73b (patch)
tree9b3bb7a3bbcf6e962c412ec108c2c9a1dc0d43fa /source/blender/include
parent650ae3b4e679f068fd8fdf73f0e6df561362b227 (diff)
== Render ==
Commit patch #7788, allow to set the render step, so it's possible make render every N frames only. The step is change in Scene buttons (F10), below start and end frame buttons. Also add a command line options (-j), so it's possible to overwrite the file step (useful for renderfarm). [ Brecht, this work with OpenGL renders and simulated the skipped frames, please double check ]
Diffstat (limited to 'source/blender/include')
-rw-r--r--source/blender/include/blendef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h
index a7f7bc2e4b8..7fd607f6feb 100644
--- a/source/blender/include/blendef.h
+++ b/source/blender/include/blendef.h
@@ -113,6 +113,7 @@
#define F_CFRA ((float)(G.scene->r.cfra))
#define SFRA (G.scene->r.sfra)
#define EFRA (G.scene->r.efra)
+#define STFRA (G.scene->frame_step)
#define PSFRA ((G.scene->r.psfra != 0)? (G.scene->r.psfra): (G.scene->r.sfra))
#define PEFRA ((G.scene->r.psfra != 0)? (G.scene->r.pefra): (G.scene->r.efra))
#define FRA2TIME(a) ((((double) G.scene->r.frs_sec_base) * (a)) / G.scene->r.frs_sec)