Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-06-08 12:39:48 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-06-08 12:40:19 +0300
commit460c1d8e20491ec53dff94464e89796608a19b72 (patch)
tree97a3306226c6d217931b2cb863e14688b51a5c77 /source/blender/modifiers/intern/MOD_bevel.c
parent4d168e0b8cf45cebb4dfe2a03008d75741c54e13 (diff)
Revert "UI: Bevel: Show Offset type before offset amount"
This reverts commit f50222ba2e3e4aa461c23b4f0b3f3382a9e0632c.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index aeec8710ed1..76b8985975e 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -287,8 +287,6 @@ static void panel_draw(const bContext *C, Panel *panel)
uiLayoutSetPropSep(layout, true);
col = uiLayoutColumn(layout, false);
- uiItemR(col, &ptr, "offset_type", 0, NULL, ICON_NONE);
-
const char *offset_name = "";
if (RNA_enum_get(&ptr, "offset_type") == BEVEL_AMT_PERCENT) {
uiItemR(col, &ptr, "width_pct", 0, NULL, ICON_NONE);
@@ -307,6 +305,7 @@ static void panel_draw(const bContext *C, Panel *panel)
}
uiItemR(col, &ptr, "width", 0, IFACE_(offset_name), ICON_NONE);
}
+ uiItemR(col, &ptr, "offset_type", 0, NULL, ICON_NONE);
uiItemR(layout, &ptr, "segments", 0, NULL, ICON_NONE);