[Bf-blender-cvs] [cb09485ff2b] blender-v3.1-release: UI: Use property split in new operator popup
Hans Goudey
noreply at git.blender.org
Fri Jan 28 17:03:16 CET 2022
Commit: cb09485ff2bd7a4931bff0d4bf951b663aafd000
Author: Hans Goudey
Date: Fri Jan 28 10:03:07 2022 -0600
Branches: blender-v3.1-release
https://developer.blender.org/rBcb09485ff2bd7a4931bff0d4bf951b663aafd000
UI: Use property split in new operator popup
This attribute conversion operator was just added.
The UI looks more consistent with property split.
===================================================================
M source/blender/editors/geometry/geometry_attributes.cc
===================================================================
diff --git a/source/blender/editors/geometry/geometry_attributes.cc b/source/blender/editors/geometry/geometry_attributes.cc
index 56ecd108bba..17229c4898e 100644
--- a/source/blender/editors/geometry/geometry_attributes.cc
+++ b/source/blender/editors/geometry/geometry_attributes.cc
@@ -325,6 +325,8 @@ static int geometry_attribute_convert_exec(bContext *C, wmOperator *op)
static void geometry_attribute_convert_ui(bContext *UNUSED(C), wmOperator *op)
{
uiLayout *layout = op->layout;
+ uiLayoutSetPropSep(layout, true);
+ uiLayoutSetPropDecorate(layout, false);
uiItemR(layout, op->ptr, "mode", 0, nullptr, ICON_NONE);
More information about the Bf-blender-cvs
mailing list