Fix T38462: error importing PLY with leading space

This commit is contained in:
Campbell Barton 2014-02-04 09:20:37 +11:00
parent b11d05fede
commit d9fcbd0601
Notes: blender-bot 2023-02-14 11:15:41 +01:00
Referenced by issue blender/blender#38462, Ply import Error
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class element_spec(object):
def load(self, format, stream):
if format == b'ascii':
stream = re.split(b'\s+', stream.readline())
stream = stream.readline().split()
return [x.load(format, stream) for x in self.properties]
def index(self, name):