diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-03-04 19:23:09 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-03-04 20:46:48 +0300 |
commit | 6958ec3f7fc23b0ad605c0cfbdbb38417e89f81f (patch) | |
tree | 864d104ad32ae399abc4d609bce5455c0b7d0f8f /source/blender/makesdna/DNA_fluid_types.h | |
parent | b32fd73b244a5c72b46926ffc1d20e3796fc2138 (diff) |
Fluid: Added an option to delete fluid inside obstacles
Simple checkbox that - if enabled - will tell the solver to clear density or liquid particles in obstacle cells.
Diffstat (limited to 'source/blender/makesdna/DNA_fluid_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_fluid_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_fluid_types.h b/source/blender/makesdna/DNA_fluid_types.h index e12bee13ebc..783babdaa1c 100644 --- a/source/blender/makesdna/DNA_fluid_types.h +++ b/source/blender/makesdna/DNA_fluid_types.h @@ -41,6 +41,7 @@ enum { FLUID_DOMAIN_USE_SPEED_VECTORS = (1 << 11), /* Generate mesh speed vectors. */ FLUID_DOMAIN_EXPORT_MANTA_SCRIPT = (1 << 12), /* Export mantaflow script during bake. */ FLUID_DOMAIN_USE_FRACTIONS = (1 << 13), /* Use second order obstacles. */ + FLUID_DOMAIN_DELETE_IN_OBSTACLE = (1 << 14), /* Delete fluid inside obstacles. */ }; /* Border collisions. */ @@ -494,7 +495,7 @@ enum { FLUID_FLOW_USE_PART_SIZE = (1 << 4), /* Control when to apply inflow. */ FLUID_FLOW_USE_INFLOW = (1 << 5), - /* Control when to apply inflow. */ + /* Control how to initialize flow objects. */ FLUID_FLOW_USE_PLANE_INIT = (1 << 6), }; |