]> git.sthu.org Git - io_import_off.git/commitdiff
remove trailing white space
authorStefan Huber <shuber2@gmx.at>
Tue, 18 Sep 2012 08:26:41 +0000 (10:26 +0200)
committerStefan Huber <shuber2@gmx.at>
Tue, 18 Sep 2012 08:26:41 +0000 (10:26 +0200)
io_import_off.py

index 86b825cace8b4b39aa4dd42e55164a9e5195ddea..6b7f9dcbdfb9fd0f2d146d1348c366551675a1e1 100644 (file)
@@ -84,7 +84,7 @@ def unpack_faces(faces):
                        # Rotate triangle, such that last index is not zero\r
                        if tri[2] == 0:\r
                                tri = [ tri[2], tri[0], tri[1] ]\r
-                       \r
+\r
                        l.extend(tri)\r
                        l.extend([0])\r
 \r
@@ -94,7 +94,7 @@ def unpack_faces(faces):
 def importFile(filepath, context):\r
 \r
        # List of vertices, a vertex is a 3-tuple (x,y,z)\r
-       vertices = [] \r
+       vertices = []\r
        # List of faces, a face is a list of indices within vertices\r
        faces = []\r
 \r
@@ -135,7 +135,7 @@ def importFile(filepath, context):
                # Get all faces\r
                for n in range(numFaces):\r
                        line = getNextLine(f).split()\r
-                       \r
+\r
                        # Get number of vertices\r
                        lenFace = int(line[0])\r
                        line = line[1:]\r
@@ -172,7 +172,7 @@ def importFile(filepath, context):
                print("Error reading .off file")\r
                print(e)\r
                return False\r
-       \r
+\r
 \r
 \r
 class IMPORT_OT_dec_off(bpy.types.Operator):\r