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:
authorCampbell Barton <ideasman42@gmail.com>2015-04-22 09:26:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-22 09:26:54 +0300
commite6ceecdf97f927a497d567f0f271d2c51964d193 (patch)
tree3675737ce2accfbeec4465ace02bc7105e5e0366 /release/scripts/startup/bl_ui/space_logic.py
parent4da050674e2c6a0ecc7d50733f7de8df3e77ee73 (diff)
Cleanup: pep8, spelling
Diffstat (limited to 'release/scripts/startup/bl_ui/space_logic.py')
-rw-r--r--release/scripts/startup/bl_ui/space_logic.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_logic.py b/release/scripts/startup/bl_ui/space_logic.py
index 1633a37169b..48b54feba17 100644
--- a/release/scripts/startup/bl_ui/space_logic.py
+++ b/release/scripts/startup/bl_ui/space_logic.py
@@ -54,11 +54,11 @@ class LOGIC_PT_properties(Panel):
row.label("See Text Object")
else:
props = layout.operator("object.game_property_new", text="Add Text Game Property", icon='ZOOMIN')
- props.name = 'Text'
+ props.name = "Text"
props.type = 'STRING'
props = layout.operator("object.game_property_new", text="Add Game Property", icon='ZOOMIN')
- props.name = ''
+ props.name = ""
for i, prop in enumerate(game.properties):
@@ -74,10 +74,10 @@ class LOGIC_PT_properties(Panel):
sub = row.row(align=True)
props = sub.operator("object.game_property_move", text="", icon='TRIA_UP')
props.index = i
- props.direction = "UP"
+ props.direction = 'UP'
props = sub.operator("object.game_property_move", text="", icon='TRIA_DOWN')
props.index = i
- props.direction = "DOWN"
+ props.direction = 'DOWN'
row.operator("object.game_property_remove", text="", icon='X', emboss=False).index = i