Skip to content

Commit 8be8f46

Browse files
committed
Clean up tools pie wording
1 parent a3ee6c2 commit 8be8f46

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

retopoflow/rfpanels/tools_pie.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ def poll(self, context):
3434

3535
def draw_bottom_menu(self, pie):
3636
tool = bpy.context.workspace.tools.from_space_view3d_mode('EDIT_MESH', create=False)
37-
radial_emboss = 'PIE_MENU' if bpy.app.version >= (5,0,0) else 'RADIAL_MENU'
37+
pie_emboss = 'PIE_MENU' if bpy.app.version >= (5,0,0) else 'RADIAL_MENU'
3838

3939
back = pie.box().column(align=True)
4040

4141
row = back.row()
42-
row.emboss = radial_emboss
42+
row.emboss = pie_emboss
4343
row.label(text='Clean Up')
4444
section = back.box().column()
4545
row = section.row(align=True)
@@ -49,7 +49,7 @@ def draw_bottom_menu(self, pie):
4949
if tool.idname == 'retopoflow.polypen':
5050
props = tool.operator_properties(tool.idname)
5151
row = back.row()
52-
row.emboss = radial_emboss
52+
row.emboss = pie_emboss
5353
row.label(text='Poly Pen Insert Mode')
5454
section = back.box().column()
5555
section.ui_units_x = 8
@@ -63,7 +63,7 @@ def draw_bottom_menu(self, pie):
6363
col.operator('retopoflow.polypen_setinsertmode_quadonly', text='Quad')
6464
if PolyPen_Insert_Modes.insert_mode == 4:
6565
row = section.row()
66-
row.emboss = radial_emboss
66+
row.emboss = pie_emboss
6767
row.label(text='Quad Stability')
6868
row = section.row(align=True)
6969
row.operator('retopoflow.polypen_quad_stability_quarter', text='0.25')
@@ -74,7 +74,7 @@ def draw_bottom_menu(self, pie):
7474
elif tool.idname == 'retopoflow.polystrips':
7575
props = tool.operator_properties(tool.idname)
7676
row = back.row()
77-
row.emboss = radial_emboss
77+
row.emboss = pie_emboss
7878
row.label(text='PolyStrips')
7979
section = back.box().column()
8080
section.ui_units_x = 8
@@ -87,7 +87,7 @@ def draw_bottom_menu(self, pie):
8787
elif tool.idname == 'retopoflow.strokes':
8888
props = tool.operator_properties(tool.idname)
8989
row = back.row()
90-
row.emboss = radial_emboss
90+
row.emboss = pie_emboss
9191
row.label(text='Strokes')
9292
section = back.box().column()
9393
section.ui_units_x = 10
@@ -105,7 +105,7 @@ def draw_bottom_menu(self, pie):
105105
elif tool.idname == 'retopoflow.contours':
106106
props = tool.operator_properties(tool.idname)
107107
row = back.row()
108-
row.emboss = radial_emboss
108+
row.emboss = pie_emboss
109109
row.label(text='Contours')
110110
section = back.box().column()
111111
section.ui_units_x = 8
@@ -118,7 +118,7 @@ def draw_bottom_menu(self, pie):
118118
tool_name = 'Tweak' if tool.idname == 'retopoflow.tweak' else 'Relax'
119119
props = tool.operator_properties(tool.idname)
120120
row = back.row()
121-
row.emboss = radial_emboss
121+
row.emboss = pie_emboss
122122
row.label(text=tool_name)
123123
section = back.box().column()
124124
section.ui_units_x = 9

0 commit comments

Comments
 (0)