Cleanup: remove unused fluidsim members

This commit is contained in:
Campbell Barton 2015-10-08 18:17:10 +11:00
parent 58869a3ecb
commit 04c7894f4d
2 changed files with 0 additions and 8 deletions

View File

@ -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--;

View File

@ -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];