Fluid Sim: Removed unused PointCache pointer
The only uses were setting it to NULL and asserting it is NULL.
This commit is contained in:
parent
175fe29e58
commit
d663ec48c0
|
@ -815,7 +815,6 @@ typedef struct FluidsimModifierData {
|
|||
ModifierData modifier;
|
||||
|
||||
struct FluidsimSettings *fss; /* definition is in DNA_object_fluidsim_types.h */
|
||||
struct PointCache *point_cache; /* definition is in DNA_object_force_types.h */
|
||||
} FluidsimModifierData;
|
||||
|
||||
typedef struct ShrinkwrapModifierData {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue