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>2014-02-13 01:51:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-13 01:52:12 +0400
commitaea00c7a81de90fd3f0b976ee1a7d5040c9f18e7 (patch)
treeade0cea55687b6b69673adb7ea4ad24e61b4adf8 /release/scripts/modules/bpy_extras/object_utils.py
parent8547d17739d1fc6eb2bd648af8dadae809865614 (diff)
Code cleanup: style
Diffstat (limited to 'release/scripts/modules/bpy_extras/object_utils.py')
-rw-r--r--release/scripts/modules/bpy_extras/object_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_extras/object_utils.py b/release/scripts/modules/bpy_extras/object_utils.py
index a14f0128444..766da46107b 100644
--- a/release/scripts/modules/bpy_extras/object_utils.py
+++ b/release/scripts/modules/bpy_extras/object_utils.py
@@ -232,7 +232,8 @@ def object_add_grid_scale_apply_operator(operator, context):
if not properties.is_property_set(prop_id):
prop_def = properties_def[prop_id]
if prop_def.unit == 'LENGTH' and prop_def.subtype == 'DISTANCE':
- setattr(operator, prop_id, getattr(operator, prop_id) * grid_scale)
+ setattr(operator, prop_id,
+ getattr(operator, prop_id) * grid_scale)
def object_image_guess(obj, bm=None):