[Bf-blender-cvs] [6c4a7e0ac34] master: Fluid: Added missing outflow object type to enable / disable flow flag

Sebastián Barschkis noreply at git.blender.org
Sun Apr 19 21:16:03 CEST 2020


Commit: 6c4a7e0ac341b05d8fc8e15ed8e645a4936da9ca
Author: Sebastián Barschkis
Date:   Sun Apr 19 19:43:05 2020 +0200
Branches: master
https://developer.blender.org/rB6c4a7e0ac341b05d8fc8e15ed8e645a4936da9ca

Fluid: Added missing outflow object type to enable / disable flow flag

There is no reason to not include outflow objects here too.

===================================================================

M	release/scripts/startup/bl_ui/properties_physics_fluid.py

===================================================================

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")



More information about the Bf-blender-cvs mailing list