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:
authorNils Thuerey <nils@thuerey.de>2005-12-18 19:49:50 +0300
committerNils Thuerey <nils@thuerey.de>2005-12-18 19:49:50 +0300
commit6f422a749ae8689d95cb8587f828553ef8811223 (patch)
treebebf1f878e8473f9f116c42a06b770160b9565f5 /source/blender/src/fluidsim.c
parentf98851f32c61d6b1cd83e6229396d7244d37c880 (diff)
- yet another minor fluidsim fix - when using a start frame != 1
the scene is now exported at that time, still numbering and reading the files from zero to noFrames
Diffstat (limited to 'source/blender/src/fluidsim.c')
-rw-r--r--source/blender/src/fluidsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/fluidsim.c b/source/blender/src/fluidsim.c
index 69f32767c66..cc9f240ef94 100644
--- a/source/blender/src/fluidsim.c
+++ b/source/blender/src/fluidsim.c
@@ -400,7 +400,7 @@ void fluidsimBake(struct Object *ob)
}
// dump data for frame 0
- G.scene->r.cfra = 1;
+ G.scene->r.cfra = G.scene->r.sfra;
scene_update_for_newframe(G.scene, G.scene->lay);
// start writing