diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-26 13:33:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-26 13:33:51 +0400 |
commit | 26252bb3154395965f5499bd5264474f9d93b787 (patch) | |
tree | 8b021e9d654ebc6d7270937ef20b30407ab2d3b7 /release/scripts/startup/bl_ui | |
parent | ea19f154004cb28b684c70be8b937e0056c715dc (diff) |
correct spelling error and some pep8 changes.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_empty.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object_constraint.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_empty.py b/release/scripts/startup/bl_ui/properties_data_empty.py index 80f83e7fabe..5a0d327f90d 100644 --- a/release/scripts/startup/bl_ui/properties_data_empty.py +++ b/release/scripts/startup/bl_ui/properties_data_empty.py @@ -44,9 +44,9 @@ class DATA_PT_empty(DataButtonsPanel, bpy.types.Panel): # layout.template_image(ob, "data", None) layout.template_ID(ob, "data", open="image.open", unlink="image.unlink") - row = layout.row(align = True) + row = layout.row(align=True) row.prop(ob, "color", text="Transparency", index=3, slider=True) - row = layout.row(align = True) + row = layout.row(align=True) row.prop(ob, "empty_image_offset", text="Offset X", index=0) row.prop(ob, "empty_image_offset", text="Offset Y", index=1) diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py index 2ca18744eb6..7c2fe76fe14 100644 --- a/release/scripts/startup/bl_ui/properties_object_constraint.py +++ b/release/scripts/startup/bl_ui/properties_object_constraint.py @@ -666,9 +666,9 @@ class ConstraintButtonsPanel(): row = col.row() row.prop(con, "map_to_z_from", expand=False, text="") row.label(text=" -> Z") - + split = layout.split() - + col = split.column() col.label(text="Destination:") col.row().prop(con, "map_to", expand=True) diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 44a1c814e28..9f69ca17076 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -437,7 +437,7 @@ class IMAGE_PT_game_properties(bpy.types.Panel): rd = context.scene.render sima = context.space_data # display even when not in game mode because these settings effect the 3d view - return (sima and sima.image) # and (rd.engine == 'BLENDER_GAME') + return (sima and sima.image) # and (rd.engine == 'BLENDER_GAME') def draw(self, context): layout = self.layout |