diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 16:10:45 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 16:10:45 +0300 |
commit | d663ec48c06a083de74e90dd9c605e98b28baa37 (patch) | |
tree | 335fdb5e81248e5dbd29faf2540ebf162ad3c276 /source/blender/modifiers | |
parent | 175fe29e58156da93e484c25aa6f5767a46106f8 (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')
-rw-r--r-- | source/blender/modifiers/intern/MOD_fluidsim.c | 5 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_fluidsim_util.c | 4 |
2 files changed, 0 insertions, 9 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; } diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c index cea9e69526c..ed5d08a95d4 100644 --- a/source/blender/modifiers/intern/MOD_fluidsim_util.c +++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c @@ -160,10 +160,6 @@ void fluidsim_free(FluidsimModifierData *fluidmd) MEM_SAFE_FREE(fluidmd->fss); } - /* Seems to never be used, but for sqke of consistency... */ - BLI_assert(fluidmd->point_cache == NULL); - fluidmd->point_cache = NULL; - return; } |