[Bf-blender-cvs] [4a48939f04b] master: UI: Fix bevel modifier not showing vertex group
Hans Goudey
noreply at git.blender.org
Fri Jul 3 17:18:30 CEST 2020
Commit: 4a48939f04b0e47e561dca83cf4957ddb6049eb4
Author: Hans Goudey
Date: Fri Jul 3 11:18:24 2020 -0400
Branches: master
https://developer.blender.org/rB4a48939f04b0e47e561dca83cf4957ddb6049eb4
UI: Fix bevel modifier not showing vertex group
===================================================================
M source/blender/modifiers/intern/MOD_bevel.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index 21bb7f4764a..ae392458539 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -308,7 +308,7 @@ static void panel_draw(const bContext *C, Panel *panel)
col = uiLayoutColumn(layout, false);
uiItemR(col, &ptr, "limit_method", 0, NULL, ICON_NONE);
int limit_method = RNA_enum_get(&ptr, "limit_method");
- if (limit_method != MOD_BEVEL_ANGLE) {
+ if (limit_method == MOD_BEVEL_ANGLE) {
sub = uiLayoutColumn(col, false);
uiLayoutSetActive(sub, edge_bevel);
uiItemR(col, &ptr, "angle_limit", 0, NULL, ICON_NONE);
More information about the Bf-blender-cvs
mailing list