Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-04-19 20:43:05 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-04-19 22:15:40 +0300
commit6c4a7e0ac341b05d8fc8e15ed8e645a4936da9ca (patch)
tree70b05b25322edfd03b184d07c66c72e7bd589e12
parentc1c97c3d4ac7a0083fcf507c770f20102929a77f (diff)
Fluid: Added missing outflow object type to enable / disable flow flag
There is no reason to not include outflow objects here too.
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_fluid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 960d2dff101..d6d2526384a 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -236,8 +236,8 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
col = grid.column()
col.prop(flow, "flow_behavior", expand=False)
- if flow.flow_behavior in {'INFLOW'}:
- col.prop(flow, "use_inflow", text="Use Inflow")
+ if flow.flow_behavior in {'INFLOW', 'OUTFLOW'}:
+ col.prop(flow, "use_inflow", text="Use Flow")
col.prop(flow, "subframes", text="Sampling Substeps")