UI: Fix bevel modifier not showing vertex group

This commit is contained in:
Hans Goudey 2020-07-03 11:18:24 -04:00
parent cad2d32be6
commit 4a48939f04
1 changed files with 1 additions and 1 deletions

View File

@ -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);