[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24838] trunk/blender/release/scripts/ui/ space_info.py: Fixed weird wrong names in Add menu.

William Reynish william at reynish.com
Mon Nov 23 20:59:44 CET 2009


Revision: 24838
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24838
Author:   billrey
Date:     2009-11-23 20:59:42 +0100 (Mon, 23 Nov 2009)

Log Message:
-----------
Fixed weird wrong names in Add menu.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/space_info.py

Modified: trunk/blender/release/scripts/ui/space_info.py
===================================================================
--- trunk/blender/release/scripts/ui/space_info.py	2009-11-23 19:26:59 UTC (rev 24837)
+++ trunk/blender/release/scripts/ui/space_info.py	2009-11-23 19:59:42 UTC (rev 24838)
@@ -192,12 +192,12 @@
         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'
 





More information about the Bf-blender-cvs mailing list