Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-07-04 16:10:45 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-07-04 16:10:45 +0300
commitd663ec48c06a083de74e90dd9c605e98b28baa37 (patch)
tree335fdb5e81248e5dbd29faf2540ebf162ad3c276 /source/blender/modifiers/intern/MOD_fluidsim.c
parent175fe29e58156da93e484c25aa6f5767a46106f8 (diff)
Fluid Sim: Removed unused PointCache pointer
The only uses were setting it to NULL and asserting it is NULL.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_fluidsim.c')
-rw-r--r--source/blender/modifiers/intern/MOD_fluidsim.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/modifiers/intern/MOD_fluidsim.c b/source/blender/modifiers/intern/MOD_fluidsim.c
index 272cc5c17f4..6e322dc7016 100644
--- a/source/blender/modifiers/intern/MOD_fluidsim.c
+++ b/source/blender/modifiers/intern/MOD_fluidsim.c
@@ -76,11 +76,6 @@ static void copyData(const ModifierData *md, ModifierData *target, const int UNU
tfluidmd->fss->meshVelocities = MEM_dupallocN(tfluidmd->fss->meshVelocities);
}
}
-
- /* Seems to never be used, but for sqke of consistency... */
- BLI_assert(fluidmd->point_cache == NULL);
- BLI_assert(tfluidmd->point_cache == NULL);
- tfluidmd->point_cache = NULL;
}