Code cleanup: style

This commit is contained in:
Campbell Barton
2014-02-13 08:51:33 +11:00
parent 8547d17739
commit aea00c7a81
21 changed files with 105 additions and 80 deletions

View File

@@ -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):