svn merge ^/trunk/blender -r43819:43830
[blender.git] / source / blender / modifiers / intern / MOD_fluidsim_util.c
index 6cf2b07142ddeb1cb317a311a4315325b5972f92..c2e442437dbafb1d811572fa01f3c5bb18987913 100644 (file)
@@ -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