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:
authorCampbell Barton <ideasman42@gmail.com>2012-02-02 04:04:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-02 04:04:47 +0400
commit8926cbd0a78284c24622dafbcf084c2d4b2a1cf8 (patch)
tree03332b4b83a793648d27b6d3014b71522f0f2ac1 /source/blender/modifiers/intern/MOD_fluidsim_util.c
parent4aa82806effa9e114f14f88d7b2da23b0a2bcca6 (diff)
parentca927b5771aba924b6f13242b4483e9f861d3153 (diff)
svn merge ^/trunk/blender -r43819:43830
Diffstat (limited to 'source/blender/modifiers/intern/MOD_fluidsim_util.c')
-rw-r--r--source/blender/modifiers/intern/MOD_fluidsim_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c
index 6cf2b07142d..c2e442437db 100644
--- a/source/blender/modifiers/intern/MOD_fluidsim_util.c
+++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c
@@ -475,6 +475,9 @@ static DerivedMesh *fluidsim_read_cache(Object *ob, DerivedMesh *orgdm, Fluidsim
break;
}
+ /* offset baked frame */
+ curFrame += fss->frameOffset;
+
BLI_path_abs(targetFile, modifier_path_relbase(ob));
BLI_path_frame(targetFile, curFrame, 0); // fixed #frame-no