diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-06-08 12:39:48 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-06-08 12:40:19 +0300 |
commit | 460c1d8e20491ec53dff94464e89796608a19b72 (patch) | |
tree | 97a3306226c6d217931b2cb863e14688b51a5c77 /source/blender/editors/mesh/editmesh_bevel.c | |
parent | 4d168e0b8cf45cebb4dfe2a03008d75741c54e13 (diff) |
Revert "UI: Bevel: Show Offset type before offset amount"
This reverts commit f50222ba2e3e4aa461c23b4f0b3f3382a9e0632c.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bevel.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bevel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c index 8d644875d11..e94412233ff 100644 --- a/source/blender/editors/mesh/editmesh_bevel.c +++ b/source/blender/editors/mesh/editmesh_bevel.c @@ -938,9 +938,6 @@ static void edbm_bevel_ui(bContext *C, wmOperator *op) RNA_pointer_create(NULL, op->type->srna, op->properties, &ptr); - col = uiLayoutRow(layout, true); - uiItemR(col, &ptr, "offset_type", UI_ITEM_R_EXPAND, NULL, ICON_NONE); - if (RNA_enum_get(&ptr, "offset_type") == BEVEL_AMT_PERCENT) { uiItemR(layout, &ptr, "offset_pct", 0, NULL, ICON_NONE); } @@ -961,6 +958,8 @@ static void edbm_bevel_ui(bContext *C, wmOperator *op) C, op->ptr, prop, RNA_property_enum_get(op->ptr, prop), &offset_name); uiItemR(layout, &ptr, "offset", 0, offset_name, ICON_NONE); } + row = uiLayoutRow(layout, true); + uiItemR(row, &ptr, "offset_type", UI_ITEM_R_EXPAND, NULL, ICON_NONE); split = uiLayoutSplit(layout, 0.5f, true); col = uiLayoutColumn(split, true); |