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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-21 14:54:15 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-21 14:54:15 +0400
commit551ddd1002cec4200c6073a8442b931122d5dd47 (patch)
tree4a557bab8dd5fe53ac7cea0442c3c076e2cbb0c8 /release
parent2379af27d10e21c5d471884ee2f78fba62f8534c (diff)
Fix #19389: add lamp had no submenu to choose the type.
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ui/space_info.py b/release/ui/space_info.py
index 6e32cf9b071..539a6722cf0 100644
--- a/release/ui/space_info.py
+++ b/release/ui/space_info.py
@@ -124,7 +124,7 @@ class INFO_MT_add(bpy.types.Menu):
layout.item_menu_enumO("object.mesh_add", "type", text="Mesh", icon='ICON_OUTLINER_OB_MESH')
layout.item_menu_enumO("object.curve_add", "type", text="Curve", icon='ICON_OUTLINER_OB_CURVE')
layout.item_menu_enumO("object.surface_add", "type", text="Surface", icon='ICON_OUTLINER_OB_SURFACE')
- layout.item_menu_enumO("object.metaball_add", "type", 'META', icon='ICON_OUTLINER_OB_META')
+ layout.item_menu_enumO("object.metaball_add", "type", 'META', text="Metaball", icon='ICON_OUTLINER_OB_META')
layout.itemO("object.text_add", text="Text", icon='ICON_OUTLINER_OB_FONT')
layout.itemS()
@@ -136,7 +136,7 @@ class INFO_MT_add(bpy.types.Menu):
layout.itemS()
layout.item_enumO("object.add", "type", 'CAMERA', icon='ICON_OUTLINER_OB_CAMERA')
- layout.item_enumO("object.add", "type", 'LAMP', icon='ICON_OUTLINER_OB_LAMP')
+ layout.item_menu_enumO("object.lamp_add", "type", 'LAMP', text="Lamp", icon='ICON_OUTLINER_OB_LAMP')
class INFO_MT_game(bpy.types.Menu):
__space_type__ = 'INFO'