Revision: 43156
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43156
Author:   dfelinto
Date:     2012-01-05 08:08:58 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
logic editor ui adjustment, all gameprop types are replaced by the ob.data.body 
(not only Text)

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_logic.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_logic.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_logic.py  2012-01-05 
07:52:03 UTC (rev 43155)
+++ trunk/blender/release/scripts/startup/bl_ui/space_logic.py  2012-01-05 
08:08:58 UTC (rev 43156)
@@ -51,10 +51,7 @@
                 # get the property from the body, not the game property
                 # note, dont do this - its too slow and body can potentually 
be a really long string.
                 # row.prop(ob.data, "body", text="")
-                if prop.type == 'STRING':
-                    row.label("*See Font Object*")
-                else:
-                    row.prop(prop, "value", text="", toggle=True)
+                row.label("See Font Object")
             else:
                 props = layout.operator("object.game_property_new", text="Add 
Text Game Property", icon='ZOOMIN')
                 props.name = 'Text'

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to