[Bf-blender-cvs] [1fb9b6b1a17] master: UI: Use property split for simulation modifier

Hans Goudey noreply at git.blender.org
Wed Jul 22 15:16:16 CEST 2020


Commit: 1fb9b6b1a173534290d09a4bfb25e3ffb0956c56
Author: Hans Goudey
Date:   Wed Jul 22 09:16:17 2020 -0400
Branches: master
https://developer.blender.org/rB1fb9b6b1a173534290d09a4bfb25e3ffb0956c56

UI: Use property split for simulation modifier

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

M	source/blender/modifiers/intern/MOD_simulation.cc

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

diff --git a/source/blender/modifiers/intern/MOD_simulation.cc b/source/blender/modifiers/intern/MOD_simulation.cc
index d9cc9840e08..85d9b47a861 100644
--- a/source/blender/modifiers/intern/MOD_simulation.cc
+++ b/source/blender/modifiers/intern/MOD_simulation.cc
@@ -131,6 +131,9 @@ static void panel_draw(const bContext *C, Panel *panel)
   PointerRNA ob_ptr;
   modifier_panel_get_property_pointers(C, panel, &ob_ptr, &ptr);
 
+  uiLayoutSetPropSep(layout, true);
+  uiLayoutSetPropDecorate(layout, false);
+
   uiItemR(layout, &ptr, "simulation", 0, NULL, ICON_NONE);
   uiItemR(layout, &ptr, "data_path", 0, NULL, ICON_NONE);



More information about the Bf-blender-cvs mailing list