diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-08 10:17:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-08 10:17:10 +0300 |
commit | 04c7894f4d36ab7eef5126efb00db7433428eb8e (patch) | |
tree | fc3f5094a0546e50efd8ec859895187b6cfdf203 | |
parent | 58869a3ecb75fb78fd571fc0a6ce3a8f4c15f8eb (diff) |
Cleanup: remove unused fluidsim members
-rw-r--r-- | source/blender/editors/object/object_add.c | 3 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_object_fluidsim.h | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 615fbb527b3..a5dc2d9970d 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -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--; diff --git a/source/blender/makesdna/DNA_object_fluidsim.h b/source/blender/makesdna/DNA_object_fluidsim.h index aaebdf579f8..a714195dd5d 100644 --- a/source/blender/makesdna/DNA_object_fluidsim.h +++ b/source/blender/makesdna/DNA_object_fluidsim.h @@ -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]; |