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:
authorCampbell Barton <ideasman42@gmail.com>2010-10-01 16:25:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-01 16:25:18 +0400
commitebca34a2820b04b6abf0b56e31d838728435ef18 (patch)
tree0b70f51d1cbb3437cc20f17b15caf17a04891764 /release
parent84fe3ab0813ef1dbc786dedd84fc4ce03099866f (diff)
3d text added with the view align option didnt work.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/space_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py
index a98ea4a3219..42cef8da8fc 100644
--- a/release/scripts/ui/space_info.py
+++ b/release/scripts/ui/space_info.py
@@ -246,10 +246,10 @@ class INFO_MT_add(bpy.types.Menu):
#layout.operator_menu_enum("object.surface_add", "type", text="Surface", icon='OUTLINER_OB_SURFACE')
layout.menu("INFO_MT_surface_add", icon='OUTLINER_OB_SURFACE')
layout.operator_menu_enum("object.metaball_add", "type", text="Metaball", icon='OUTLINER_OB_META')
+ layout.operator_context = 'INVOKE_REGION_WIN'
layout.operator("object.text_add", text="Text", icon='OUTLINER_OB_FONT')
layout.separator()
- layout.operator_context = 'INVOKE_REGION_WIN'
layout.menu("INFO_MT_armature_add", icon='OUTLINER_OB_ARMATURE')
layout.operator("object.add", text="Lattice", icon='OUTLINER_OB_LATTICE').type = 'LATTICE'
layout.operator("object.add", text="Empty", icon='OUTLINER_OB_EMPTY').type = 'EMPTY'