Some minor changes & updates to keep in sync with my own version.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 20 Jan 2006 06:05:28 +0000 (06:05 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 20 Jan 2006 06:05:28 +0000 (06:05 +0000)
release/scripts/skin.py

index adf49b1af7b261a90fab90097e21fd1bfaed7754..c319de31915c558f27803d626c0b0f56e62a8e90 100644 (file)
@@ -483,7 +483,9 @@ def main():
        if choice == 1 and len(edgeOrderedList) > 2: # Loop
                skin2EdgeLoops(edgeOrderedList[0], edgeOrderedList[-1], me, ob, 0)      
        
        if choice == 1 and len(edgeOrderedList) > 2: # Loop
                skin2EdgeLoops(edgeOrderedList[0], edgeOrderedList[-1], me, ob, 0)      
        
+       print '\nArray done in %.4f sec.' % (sys.time()-time1)
        me.update(1, 1, 0)
        if is_editmode: Window.EditMode(1)
 
        me.update(1, 1, 0)
        if is_editmode: Window.EditMode(1)
 
-main()
+if __name__ == '__main__':
+       main()