[Bf-blender-cvs] [e65f5c07b04] master: Fluid: Added missing UI options for effector objects

Sebastián Barschkis noreply at git.blender.org
Fri Mar 6 12:26:57 CET 2020


Commit: e65f5c07b04e592dc7a5490ebc5f271d52729b48
Author: Sebastián Barschkis
Date:   Fri Mar 6 12:26:22 2020 +0100
Branches: master
https://developer.blender.org/rBe65f5c07b04e592dc7a5490ebc5f271d52729b48

Fluid: Added missing UI options for effector objects

UI was missing some of the new functionality introduced in a5c4a44df67e.

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

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 71170c04494..ba21fe47519 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -262,12 +262,16 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
             row = layout.row()
             row.prop(effector_settings, "effector_type")
 
-            flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False)
+            grid = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False)
 
-            col = flow.column()
+            col = grid.column()
+            col.prop(effector_settings, "subframes", text="Sampling Substeps")
+            col.prop(effector_settings, "surface_distance", text="Surface Thickness")
+
+            col = grid.column()
 
+            col.prop(effector_settings, "use_effector", text="Use Effector")
             col.prop(effector_settings, "use_plane_init", text="Is Planar")
-            col.prop(effector_settings, "surface_distance", text="Surface Thickness")
             col.prop(effector_settings, "delete_in_obstacle", text="Delete In Obstacle")
 
             if effector_settings.effector_type == 'GUIDE':



More information about the Bf-blender-cvs mailing list