[Bf-blender-cvs] [d19277c72f1] blender-v2.83-release: Fluid: Added missing outflow object type to enable / disable flow flag

Sebastián Barschkis noreply at git.blender.org
Wed Apr 22 16:21:10 CEST 2020


Commit: d19277c72f1a5acc08eefde9c6c05e2cd4358205
Author: Sebastián Barschkis
Date:   Sun Apr 19 19:43:05 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBd19277c72f1a5acc08eefde9c6c05e2cd4358205

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