Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-07-22 16:16:17 +0300
committerHans Goudey <h.goudey@me.com>2020-07-22 16:16:17 +0300
commit1fb9b6b1a173534290d09a4bfb25e3ffb0956c56 (patch)
tree12345c12b13bfdf1fe4cfdd03cb278d193442fe4
parent4950022e7d1aa7d01301f7d2bf173e84ca95b719 (diff)
UI: Use property split for simulation modifier
-rw-r--r--source/blender/modifiers/intern/MOD_simulation.cc3
1 files changed, 3 insertions, 0 deletions
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);