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:
authorDalai Felinto <dfelinto@gmail.com>2012-01-05 12:08:58 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-01-05 12:08:58 +0400
commitd560b33f747971e9cca81cb58c9d05f60149d6a4 (patch)
treeacb26d93bf391694203fb02ab2d09471b165ecd4 /release
parentb5ce2b028a4f43c3e24caecfac337f85029ca575 (diff)
logic editor ui adjustment, all gameprop types are replaced by the ob.data.body (not only Text)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_logic.py5
1 files changed, 1 insertions, 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'