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:
authorWilliam Reynish <william@reynish.com>2009-11-28 14:32:09 +0300
committerWilliam Reynish <william@reynish.com>2009-11-28 14:32:09 +0300
commitb4aceb0e405c342362c7a3fe12c8fa9acf8b5cdf (patch)
treeb0d28fb6ae65d0723d220eb744a8ae2ec5098cab /release/scripts/ui
parentbc43e47c2b761938ecfb7cbfad05c4fd164622a1 (diff)
Fixed some more names after the Python UI API changes
Diffstat (limited to 'release/scripts/ui')
-rw-r--r--release/scripts/ui/space_view3d.py12
-rw-r--r--release/scripts/ui/space_view3d_toolbar.py14
2 files changed, 13 insertions, 13 deletions
diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py
index e61394832da..6a6505e1fb2 100644
--- a/release/scripts/ui/space_view3d.py
+++ b/release/scripts/ui/space_view3d.py
@@ -102,9 +102,9 @@ class VIEW3D_MT_transform(bpy.types.Menu):
layout.operator_context = 'EXEC_AREA'
- layout.operator("object.center_set", text="ObData to Center").type = 'CENTER'
- layout.operator("object.center_set", text="Center New").type = 'CENTER_NEW'
- layout.operator("object.center_set", text="Center Cursor").type = 'CENTER_CURSOR'
+ layout.operator("object.center_set", text="ObData to Centroid").type = 'CENTER'
+ layout.operator("object.center_set", text="Centroid to ObData").type = 'CENTER_NEW'
+ layout.operator("object.center_set", text="Centroid to 3D Cursor").type = 'CENTER_CURSOR'
class VIEW3D_MT_mirror(bpy.types.Menu):
bl_label = "Mirror"
@@ -197,7 +197,7 @@ class VIEW3D_MT_view(bpy.types.Menu):
layout.separator()
- layout.operator("view3d.view_persportho")
+ layout.operator("view3d.view_persportho", text="Toggle Perspective")
layout.separator()
@@ -349,8 +349,8 @@ class VIEW3D_MT_select_pose(bpy.types.Menu):
layout.separator()
- layout.operator("pose.select_hierarchy").direction = 'PARENT'
- layout.operator("pose.select_hierarchy").direction = 'CHILD'
+ layout.operator("pose.select_hierarchy", text="Parent").direction = 'PARENT'
+ layout.operator("pose.select_hierarchy", text="Child").direction = 'CHILD'
layout.separator()
diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py
index f9147dc8b76..012a4a18fdd 100644
--- a/release/scripts/ui/space_view3d_toolbar.py
+++ b/release/scripts/ui/space_view3d_toolbar.py
@@ -173,8 +173,8 @@ class VIEW3D_PT_tools_curveedit(View3DPanel):
col.operator("tfm.resize", text="Scale")
col = layout.column(align=True)
- col.operator("tfm.transform").mode = 'TILT'
- col.operator("tfm.transform").mode = 'CURVE_SHRINKFATTEN'
+ col.operator("tfm.transform", text="Tilt").mode = 'TILT'
+ col.operator("tfm.transform", text="Shrink/Fatten").mode = 'CURVE_SHRINKFATTEN'
col = layout.column(align=True)
col.label(text="Curve:")
@@ -188,9 +188,9 @@ class VIEW3D_PT_tools_curveedit(View3DPanel):
col.label(text="Handles:")
row = col.row()
row.operator("curve.handle_type_set", text="Auto").type = 'AUTOMATIC'
- row.operator("curve.handle_type_set").type = 'VECTOR'
+ row.operator("curve.handle_type_set", text="Vector").type = 'VECTOR'
row = col.row()
- row.operator("curve.handle_type_set").type = 'ALIGN'
+ row.operator("curve.handle_type_set", text="Align").type = 'ALIGN'
row.operator("curve.handle_type_set", text="Free").type = 'FREE_ALIGN'
col = layout.column(align=True)
@@ -273,9 +273,9 @@ class VIEW3D_PT_tools_textedit(View3DPanel):
col = layout.column(align=True)
col.label(text="Style:")
- col.operator("font.style_toggle").style = 'BOLD'
- col.operator("font.style_toggle").style = 'ITALIC'
- col.operator("font.style_toggle").style = 'UNDERLINE'
+ col.operator("font.style_toggle", text="Bold").style = 'BOLD'
+ col.operator("font.style_toggle", text="Italic").style = 'ITALIC'
+ col.operator("font.style_toggle", text="Underline").style = 'UNDERLINE'
col = layout.column(align=True)
col.label(text="Repeat:")