Fix for [#26197] High resolution smoke cache not available due to pointcache update...
[blender.git] / source / blender / blenloader / intern / writefile.c
index 8d0656e45e1e9d530b5d14a37a965ffa32011763..d2d6c2412cd2a21da3288e9f58a56cc5154ecb38 100644 (file)
@@ -1220,7 +1220,7 @@ static void write_modifiers(WriteData *wd, ListBase *modbase)
 
                                        /* create fake pointcache so that old blender versions can read it */
                                        smd->domain->point_cache[1] = BKE_ptcache_add(&smd->domain->ptcaches[1]);
-                                       smd->domain->point_cache[1]->flag |= PTCACHE_DISK_CACHE;
+                                       smd->domain->point_cache[1]->flag |= PTCACHE_DISK_CACHE|PTCACHE_FAKE_SMOKE;
                                        smd->domain->point_cache[1]->step = 1;
 
                                        write_pointcaches(wd, &(smd->domain->ptcaches[1]));