Cleanup: remove unused fluidsim members
This commit is contained in:
parent
58869a3ecb
commit
04c7894f4d
|
@ -2023,9 +2023,6 @@ static Base *object_add_duplicate_internal(Main *bmain, Scene *scene, Base *base
|
|||
ID_NEW_US2(obn->data)
|
||||
else {
|
||||
obn->data = BKE_mesh_copy(obn->data);
|
||||
if (obn->fluidsimSettings) {
|
||||
obn->fluidsimSettings->orgMesh = (Mesh *)obn->data;
|
||||
}
|
||||
didit = 1;
|
||||
}
|
||||
id->us--;
|
||||
|
|
|
@ -88,11 +88,6 @@ typedef struct FluidsimSettings {
|
|||
/* gravity strength */
|
||||
float iniVelx, iniVely, iniVelz;
|
||||
|
||||
/* store pointer to original mesh (for replacing the current one) */
|
||||
struct Mesh *orgMesh;
|
||||
/* a mesh to display the bounding box used for simulation */
|
||||
struct Mesh *meshBB;
|
||||
|
||||
/* store output path, and file prefix for baked fluid surface */
|
||||
/* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */
|
||||
char surfdataPath[1024];
|
||||
|
|
Loading…
Reference in New Issue