[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32227] trunk/blender/release/scripts/ui/ space_info.py: 3d text added with the view align option didnt work.

Campbell Barton ideasman42 at gmail.com
Fri Oct 1 14:25:18 CEST 2010


Revision: 32227
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32227
Author:   campbellbarton
Date:     2010-10-01 14:25:18 +0200 (Fri, 01 Oct 2010)

Log Message:
-----------
3d text added with the view align option didnt work.

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	2010-10-01 09:54:07 UTC (rev 32226)
+++ trunk/blender/release/scripts/ui/space_info.py	2010-10-01 12:25:18 UTC (rev 32227)
@@ -246,10 +246,10 @@
         #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'





More information about the Bf-blender-cvs mailing list