Fix for [#23729] Smoke / Edit Mode bug
authorJanne Karhu <jhkarh@gmail.com>
Mon, 13 Sep 2010 11:14:12 +0000 (11:14 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Mon, 13 Sep 2010 11:14:12 +0000 (11:14 +0000)
source/blender/blenkernel/intern/smoke.c

index 11012843131254afa7af3cd81310ac44cf9b951e..d2d8d5a6e071b6c2e681ac1145ec1b6bc68ed4bc 100644 (file)
@@ -1350,7 +1350,7 @@ void smokeModifier_do(SmokeModifierData *smd, Scene *scene, Object *ob, DerivedM
                if(framenr > endframe)
                        return;
 
-               if(!smd->domain->fluid && (framenr != startframe))
+               if(!smd->domain->fluid && (framenr != startframe) && (cache->flag & PTCACHE_BAKED)==0)
                        return;
 
                // printf("startframe: %d, framenr: %d\n", startframe, framenr);