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>2012-06-20 02:17:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-20 02:17:19 +0400
commit98e69124807b9a5e16b617c89347fc77072e9b38 (patch)
tree682b17e9cbd03eb447962f2d6743ad849272e6e3 /release/scripts/startup/bl_operators/uvcalc_smart_project.py
parenta8f23a96a4f804bbf8d1ef67acfc4f8a57c319b1 (diff)
style cleanup
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_smart_project.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_smart_project.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_smart_project.py b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
index 1e18825a155..ac4aa96f655 100644
--- a/release/scripts/startup/bl_operators/uvcalc_smart_project.py
+++ b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
@@ -107,7 +107,6 @@ def boundsEdgeLoop(edges):
# print len(faces), minx, maxx, miny , maxy
for ed in edges:
for pt in ed:
- print 'ass'
x= pt[0]
y= pt[1]
if x<minx: x= minx
@@ -502,7 +501,6 @@ def mergeUvIslands(islandList):
It gives about 10% speedup with minimal errors.
'''
- #print 'ass'
# Move the test along its width + SMALL_NUM
#boxLeft += sourceIsland[4] + SMALL_NUM
boxLeft += sourceIsland[4]
@@ -832,7 +830,7 @@ def main(context,
USER_ONLY_SELECTED_FACES = False
if not obList:
- raise('error, no selected mesh objects')
+ raise Exception("error, no selected mesh objects")
# Reuse variable
if len(obList) == 1: