[Bf-blender-cvs] [270b3d1a047] modifier-panels-ui: Small tweaks to modifier panels

Hans Goudey noreply at git.blender.org
Thu Apr 2 16:58:54 CEST 2020


Commit: 270b3d1a04748c9e0687bb142aadd2ed31259ca5
Author: Hans Goudey
Date:   Wed Apr 1 13:58:00 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rB270b3d1a04748c9e0687bb142aadd2ed31259ca5

Small tweaks to modifier panels

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

M	source/blender/modifiers/intern/MOD_displace.c
M	source/blender/modifiers/intern/MOD_wave.c

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

diff --git a/source/blender/modifiers/intern/MOD_displace.c b/source/blender/modifiers/intern/MOD_displace.c
index 43c67f0c6a6..0deddede06b 100644
--- a/source/blender/modifiers/intern/MOD_displace.c
+++ b/source/blender/modifiers/intern/MOD_displace.c
@@ -444,6 +444,8 @@ static void panel_draw(const bContext *C, Panel *panel)
     uiItemL(col, IFACE_("Space:"), ICON_NONE);
     uiItemR(col, &ptr, "space", 0, "", ICON_NONE);
   }
+
+  col = uiLayoutColumn(layout, true);
   uiItemL(col, IFACE_("Vertex Group:"), ICON_NONE);
   row = uiLayoutRow(col, true);
   uiItemPointerR(row, &ptr, "vertex_group", &ob_ptr, "vertex_groups", "", ICON_NONE);
diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c
index 69c785db88c..cbb882e5374 100644
--- a/source/blender/modifiers/intern/MOD_wave.c
+++ b/source/blender/modifiers/intern/MOD_wave.c
@@ -438,8 +438,7 @@ static void texture_panel_draw(const bContext *C, Panel *panel)
 
   int texture_coords = RNA_enum_get(&ptr, "texture_coords");
 
-  col = uiLayoutColumn(layout, false);
-  uiTemplateID(col, C, &ptr, "texture", "texture.new", NULL, NULL, 0, ICON_NONE, NULL);
+  uiTemplateID(layout, C, &ptr, "texture", "texture.new", NULL, NULL, 0, ICON_NONE, NULL);
 
   uiItemR(layout, &ptr, "texture_coords", 0, NULL, ICON_NONE);
   if (texture_coords == MOD_DISP_MAP_OBJECT) {



More information about the Bf-blender-cvs mailing list