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>2019-04-09 16:16:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-09 17:06:13 +0300
commite49da071841ca16dcc4ffaa69866ed06b1c21be7 (patch)
tree32fdfa903d9b3d5f638801be94b9a6899688819d /release/scripts/startup/bl_operators/uvcalc_smart_project.py
parent32f3d479907254d11219c112bd6a5529e714ea5b (diff)
Cleanup: style
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_smart_project.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_smart_project.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_smart_project.py b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
index 58c915ce029..528513aa301 100644
--- a/release/scripts/startup/bl_operators/uvcalc_smart_project.py
+++ b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
@@ -583,10 +583,10 @@ def packIslands(islandList):
w, h = maxx - minx, maxy - miny
if USER_ISLAND_MARGIN:
- minx -= USER_ISLAND_MARGIN * w/2
- miny -= USER_ISLAND_MARGIN * h/2
- maxx += USER_ISLAND_MARGIN * w/2
- maxy += USER_ISLAND_MARGIN * h/2
+ minx -= USER_ISLAND_MARGIN * w / 2
+ miny -= USER_ISLAND_MARGIN * h / 2
+ maxx += USER_ISLAND_MARGIN * w / 2
+ maxy += USER_ISLAND_MARGIN * h / 2
# recalc width and height
w, h = maxx - minx, maxy - miny