[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43241] trunk/blender/release/scripts/ startup/bl_ui/space_logic.py: ui typo + small fix
Dalai Felinto
dfelinto at gmail.com
Mon Jan 9 21:13:15 CET 2012
Revision: 43241
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43241
Author: dfelinto
Date: 2012-01-09 20:13:03 +0000 (Mon, 09 Jan 2012)
Log Message:
-----------
ui typo + small fix
Blender internally deals with Font Objects, but as far as the user is concerned they are Text Objects.
Which, btw, makes me wonder why we have an 'F' as the logo for Text objects, and why the ob.type is 'FONT' in python
(I guess it's a Font Data for a Text object)
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-09 19:34:53 UTC (rev 43240)
+++ trunk/blender/release/scripts/startup/bl_ui/space_logic.py 2012-01-09 20:13:03 UTC (rev 43241)
@@ -41,7 +41,7 @@
if is_font:
prop_index = game.properties.find("Text")
if prop_index != -1:
- layout.operator("object.game_property_remove", text="Renove Text Game Property", icon='X').index = prop_index
+ layout.operator("object.game_property_remove", text="Remove Text Game Property", icon='X').index = prop_index
row = layout.row()
sub = row.row()
sub.enabled = 0
@@ -49,9 +49,9 @@
sub.prop(prop, "name", text="")
row.prop(prop, "type", text="")
# 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.
+ # note, don't do this - it's too slow and body can potentually be a really long string.
# row.prop(ob.data, "body", text="")
- row.label("See Font Object")
+ row.label("See Text Object")
else:
props = layout.operator("object.game_property_new", text="Add Text Game Property", icon='ZOOMIN')
props.name = 'Text'
More information about the Bf-blender-cvs
mailing list