Fix wrong names in 3D view View menu
authorWilliam Reynish <william@reynish.com>
Tue, 24 Nov 2009 12:15:17 +0000 (12:15 +0000)
committerWilliam Reynish <william@reynish.com>
Tue, 24 Nov 2009 12:15:17 +0000 (12:15 +0000)
release/scripts/ui/space_view3d.py

index 21521e36cbafa70794af1eed7ea1d19f88cc34e6..01318b82e0bc749ba3cf6477192adeb1a818e5f3 100644 (file)
@@ -188,10 +188,10 @@ class VIEW3D_MT_view(bpy.types.Menu):
 
         layout.separator()
 
-        layout.operator("view3d.viewnumpad").type = 'CAMERA'
-        layout.operator("view3d.viewnumpad").type = 'TOP'
-        layout.operator("view3d.viewnumpad").type = 'FRONT'
-        layout.operator("view3d.viewnumpad").type = 'RIGHT'
+        layout.operator("view3d.viewnumpad", text="Camera").type = 'CAMERA'
+        layout.operator("view3d.viewnumpad", text="Top").type = 'TOP'
+        layout.operator("view3d.viewnumpad", text="Front").type = 'FRONT'
+        layout.operator("view3d.viewnumpad", text="Right").type = 'RIGHT'
 
         layout.menu("VIEW3D_MT_view_cameras", text="Cameras")