From d560b33f747971e9cca81cb58c9d05f60149d6a4 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 5 Jan 2012 08:08:58 +0000 Subject: [PATCH] logic editor ui adjustment, all gameprop types are replaced by the ob.data.body (not only Text) --- release/scripts/startup/bl_ui/space_logic.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/release/scripts/startup/bl_ui/space_logic.py b/release/scripts/startup/bl_ui/space_logic.py index 9e07746b9c7..1d0e2221ce2 100644 --- a/release/scripts/startup/bl_ui/space_logic.py +++ b/release/scripts/startup/bl_ui/space_logic.py @@ -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'