diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-04-19 20:43:05 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-04-22 17:18:13 +0300 |
commit | d19277c72f1a5acc08eefde9c6c05e2cd4358205 (patch) | |
tree | 576050e98314a4ba80cefe907f8962c507a691bb /release | |
parent | 650f9cfe938f5e65e45a90223ce03c6b232a6217 (diff) |
Fluid: Added missing outflow object type to enable / disable flow flag
There is no reason to not include outflow objects here too.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_fluid.py | 4 |
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") |