diff options
author | Nils Thuerey <nils@thuerey.de> | 2005-10-10 10:59:47 +0400 |
---|---|---|
committer | Nils Thuerey <nils@thuerey.de> | 2005-10-10 10:59:47 +0400 |
commit | 328eeaf10b342f3ec1b55e817b20b8742ee8adc8 (patch) | |
tree | 21a505e1813d5470e9d634d382b9c7564980dbb2 /source/blender/makesdna | |
parent | 4cea576cedfd65c4432bedcb46ffb4ce8285d841 (diff) |
- added option to switch off compiling elbeem to scons files (set USE_FLUIDSIM=true)
in this case only the new blenderdummy.cpp and utilities.cpp have to be compiled
- restructured gui:
* domain options split up into 2 sections
* added compressibility and refinement settings
* added inflow/outflow object types
- increased progress bar by 1
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_object_fluidsim.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_object_fluidsim.h b/source/blender/makesdna/DNA_object_fluidsim.h index 7ec19917c7e..e98f0b8a8e9 100644 --- a/source/blender/makesdna/DNA_object_fluidsim.h +++ b/source/blender/makesdna/DNA_object_fluidsim.h @@ -43,7 +43,8 @@ struct Mesh; typedef struct FluidsimSettings { /* domain,fluid or obstacle */ short type; - short dummy1; + /* display advanced options in fluid sim tab (on=1,off=0)*/ + short show_advancedoptions; /* domain object settings */ /* resolutions */ @@ -54,7 +55,6 @@ typedef struct FluidsimSettings { /* show original meshes, preview or final sim */ short guiDisplayMode; short renderDisplayMode; - //short dummy2,dummy3; /* fluid properties */ float viscosityValue; @@ -78,7 +78,6 @@ typedef struct FluidsimSettings { /* store pointer to original mesh (for replacing the current one) */ struct Mesh *orgMesh; - //void *dummyPtr; } FluidsimSettings; /* ob->fluidsimSettings defines */ @@ -86,6 +85,8 @@ typedef struct FluidsimSettings { #define OB_FLUIDSIM_DOMAIN 2 #define OB_FLUIDSIM_FLUID 4 #define OB_FLUIDSIM_OBSTACLE 8 +#define OB_FLUIDSIM_INFLOW 16 +#define OB_FLUIDSIM_OUTFLOW 32 #ifdef __cplusplus } |