Commit: a6d8f6c0f308edb74a2b56e784e49153e21c8680 Author: Sebastián Barschkis Date: Thu Apr 9 12:18:05 2020 +0200 Branches: master https://developer.blender.org/rBa6d8f6c0f308edb74a2b56e784e49153e21c8680
Fluid: Fix unused variables Unsed variables for fluid caching. =================================================================== M source/blender/blenkernel/intern/fluid.c =================================================================== diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c index e96f65751de..8076cc0967b 100644 --- a/source/blender/blenkernel/intern/fluid.c +++ b/source/blender/blenkernel/intern/fluid.c @@ -3788,6 +3788,13 @@ static void BKE_fluid_modifier_processDomain(FluidModifierData *mmd, prev_particles = manta_has_particles(mds->fluid, mmd, scene_framenr - 1); prev_guide = manta_has_guiding(mds->fluid, mmd, scene_framenr - 1, guide_parent); + /* Unused for now, but needed for proper caching. */ + UNUSED_VARS(prev_guide); + UNUSED_VARS(next_noise); + UNUSED_VARS(next_mesh); + UNUSED_VARS(next_particles); + UNUSED_VARS(next_guide); + bool with_gdomain; with_gdomain = (mds->guide_source == FLUID_DOMAIN_GUIDE_SRC_DOMAIN); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs