logic editor ui adjustment, all gameprop types are replaced by the ob.data.body ...
authorDalai Felinto <dfelinto@gmail.com>
Thu, 5 Jan 2012 08:08:58 +0000 (08:08 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Thu, 5 Jan 2012 08:08:58 +0000 (08:08 +0000)
release/scripts/startup/bl_ui/space_logic.py

index 9e07746b9c764d4194d69b206f49024ee4bed18e..1d0e2221ce284fb19fb977f460bec3b040bb5ded 100644 (file)
@@ -51,10 +51,7 @@ class LOGIC_PT_properties(Panel):
                 # 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'