[Bf-blender-cvs] [6a422b6624b] soc-2021-uv-editor-improvements: Test commit. Add missing tooltips for pivot options in UV Editor.
SIDD017
noreply at git.blender.org
Tue Jun 8 16:51:06 CEST 2021
Commit: 6a422b6624ba514d2b7df858950df23ddbbe4381
Author: SIDD017
Date: Tue Jun 8 19:39:20 2021 +0530
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rB6a422b6624ba514d2b7df858950df23ddbbe4381
Test commit. Add missing tooltips for pivot options in UV Editor.
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index bb356e4b532..b22474aa4e3 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -1755,9 +1755,17 @@ static const EnumPropertyItem *rna_SpaceImageEditor_pivot_itemf(bContext *UNUSED
bool *UNUSED(r_free))
{
static const EnumPropertyItem pivot_items[] = {
- {V3D_AROUND_CENTER_BOUNDS, "CENTER", ICON_PIVOT_BOUNDBOX, "Bounding Box Center", ""},
- {V3D_AROUND_CENTER_MEDIAN, "MEDIAN", ICON_PIVOT_MEDIAN, "Median Point", ""},
- {V3D_AROUND_CURSOR, "CURSOR", ICON_PIVOT_CURSOR, "2D Cursor", ""},
+ {V3D_AROUND_CENTER_BOUNDS,
+ "CENTER",
+ ICON_PIVOT_BOUNDBOX,
+ "Bounding Box Center",
+ "Pivot around bounding box center of selected UVs"},
+ {V3D_AROUND_CENTER_MEDIAN,
+ "MEDIAN",
+ ICON_PIVOT_MEDIAN,
+ "Median Point",
+ "Pivot around the median point of selected UVs"},
+ {V3D_AROUND_CURSOR, "CURSOR", ICON_PIVOT_CURSOR, "2D Cursor", "Pivot around the 2D Cursor"},
{V3D_AROUND_LOCAL_ORIGINS,
"INDIVIDUAL_ORIGINS",
ICON_PIVOT_INDIVIDUAL,
More information about the Bf-blender-cvs
mailing list