From: Stefan Huber Date: Tue, 18 Sep 2012 08:26:41 +0000 (+0200) Subject: remove trailing white space X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=d160f23c6a69453e231f6f18e15dad65d8c0ca8a;p=io_import_off.git remove trailing white space --- diff --git a/io_import_off.py b/io_import_off.py index 86b825c..6b7f9dc 100644 --- a/io_import_off.py +++ b/io_import_off.py @@ -84,7 +84,7 @@ def unpack_faces(faces): # Rotate triangle, such that last index is not zero if tri[2] == 0: tri = [ tri[2], tri[0], tri[1] ] - + l.extend(tri) l.extend([0]) @@ -94,7 +94,7 @@ def unpack_faces(faces): def importFile(filepath, context): # List of vertices, a vertex is a 3-tuple (x,y,z) - vertices = [] + vertices = [] # List of faces, a face is a list of indices within vertices faces = [] @@ -135,7 +135,7 @@ def importFile(filepath, context): # Get all faces for n in range(numFaces): line = getNextLine(f).split() - + # Get number of vertices lenFace = int(line[0]) line = line[1:] @@ -172,7 +172,7 @@ def importFile(filepath, context): print("Error reading .off file") print(e) return False - + class IMPORT_OT_dec_off(bpy.types.Operator):