Fixed weird wrong names in Add menu.
authorWilliam Reynish <william@reynish.com>
Mon, 23 Nov 2009 19:59:42 +0000 (19:59 +0000)
committerWilliam Reynish <william@reynish.com>
Mon, 23 Nov 2009 19:59:42 +0000 (19:59 +0000)
release/scripts/ui/space_info.py

index 8198a7358363965704b9aafd582a38636421986a..0142805ca296f5fa129ca6e6b756f3c30203acd8 100644 (file)
@@ -192,12 +192,12 @@ class INFO_MT_add(bpy.types.Menu):
         layout.operator_context = 'INVOKE_SCREEN'
 
         layout.operator("object.armature_add", text="Armature", icon='ICON_OUTLINER_OB_ARMATURE')
-        layout.operator("object.add", icon='ICON_OUTLINER_OB_LATTICE').type = 'LATTICE'
-        layout.operator("object.add", icon='ICON_OUTLINER_OB_EMPTY').type = 'EMPTY'
+        layout.operator("object.add", text="Lattice", icon='ICON_OUTLINER_OB_LATTICE').type = 'LATTICE'
+        layout.operator("object.add", text="Empty", icon='ICON_OUTLINER_OB_EMPTY').type = 'EMPTY'
 
         layout.separator()
 
-        layout.operator("object.add", icon='ICON_OUTLINER_OB_CAMERA').type = 'CAMERA'
+        layout.operator("object.add", text="Camera", icon='ICON_OUTLINER_OB_CAMERA').type = 'CAMERA'
 
         layout.operator_context = 'EXEC_SCREEN'