[Bf-blender-cvs] [73f8dd0f4cb] master: Fix T77596: UI: Correct "offset even" location in solidify modifier

Hans Goudey noreply at git.blender.org
Mon Jun 15 14:23:14 CEST 2020


Commit: 73f8dd0f4cb5277df1d161cd1ceee5a630a84cd7
Author: Hans Goudey
Date:   Mon Jun 15 08:23:07 2020 -0400
Branches: master
https://developer.blender.org/rB73f8dd0f4cb5277df1d161cd1ceee5a630a84cd7

Fix T77596: UI: Correct "offset even" location in solidify modifier

This only applies in the "simple" solidify mode.

Differential Revision: https://developer.blender.org/D7967

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

M	source/blender/modifiers/intern/MOD_solidify.c

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

diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c
index 1471d088af9..0792fac41b8 100644
--- a/source/blender/modifiers/intern/MOD_solidify.c
+++ b/source/blender/modifiers/intern/MOD_solidify.c
@@ -124,6 +124,9 @@ static void panel_draw(const bContext *C, Panel *panel)
   if (solidify_mode == MOD_SOLIDIFY_MODE_NONMANIFOLD) {
     uiItemR(layout, &ptr, "nonmanifold_merge_threshold", 0, NULL, ICON_NONE);
   }
+  else {
+    uiItemR(layout, &ptr, "use_even_offset", 0, NULL, ICON_NONE);
+  }
 
   col = uiLayoutColumnWithHeading(layout, false, "Rim");
   uiItemR(col, &ptr, "use_rim", 0, IFACE_("Fill"), ICON_NONE);
@@ -162,7 +165,6 @@ static void normals_panel_draw(const bContext *C, Panel *panel)
   uiItemR(layout, &ptr, "use_flip_normals", 0, NULL, ICON_NONE);
   if (solidify_mode == MOD_SOLIDIFY_MODE_EXTRUDE) {
     uiItemR(layout, &ptr, "use_quality_normals", 0, IFACE_("High Quality"), ICON_NONE);
-    uiItemR(layout, &ptr, "use_even_offset", 0, NULL, ICON_NONE);
   }
 }



More information about the Bf-blender-cvs mailing list