Cleanup: remove unused fluidsim members
This commit is contained in:
@@ -2023,9 +2023,6 @@ static Base *object_add_duplicate_internal(Main *bmain, Scene *scene, Base *base
|
|||||||
ID_NEW_US2(obn->data)
|
ID_NEW_US2(obn->data)
|
||||||
else {
|
else {
|
||||||
obn->data = BKE_mesh_copy(obn->data);
|
obn->data = BKE_mesh_copy(obn->data);
|
||||||
if (obn->fluidsimSettings) {
|
|
||||||
obn->fluidsimSettings->orgMesh = (Mesh *)obn->data;
|
|
||||||
}
|
|
||||||
didit = 1;
|
didit = 1;
|
||||||
}
|
}
|
||||||
id->us--;
|
id->us--;
|
||||||
|
@@ -88,11 +88,6 @@ typedef struct FluidsimSettings {
|
|||||||
/* gravity strength */
|
/* gravity strength */
|
||||||
float iniVelx, iniVely, iniVelz;
|
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 */
|
/* store output path, and file prefix for baked fluid surface */
|
||||||
/* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */
|
/* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */
|
||||||
char surfdataPath[1024];
|
char surfdataPath[1024];
|
||||||
|
Reference in New Issue
Block a user