Bugfix for a) Fluid ipos gone after save-load b) changing viscosity causes fluidsim...
[blender.git] / source / blender / blenkernel / intern / fluidsim.c
index 746e4387b61f8b6cd3569bec8c423bb4c9868dff..4c00dc1e918a774fa040d7b79e407f5d8d8d562d 100644 (file)
@@ -181,7 +181,7 @@ DerivedMesh *fluidsimModifier_do(FluidsimModifierData *fluidmd, Object *ob, Deri
        // clmd->sim_parms->timescale= timescale;
        
        // support reversing of baked fluid frames here
-       if((fss->show_advancedoptions & OB_FLUIDSIM_REVERSE) && (fss->lastgoodframe >= 0))
+       if((fss->flag & OB_FLUIDSIM_REVERSE) && (fss->lastgoodframe >= 0))
        {
                framenr = fss->lastgoodframe - framenr + 1;
                CLAMP(framenr, 1, fss->lastgoodframe);