Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-04 02:20:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-04 02:20:37 +0400
commitd9fcbd06018165cc2cfca0673c7c2db44b04a833 (patch)
tree05d22fa68f47f5bff7a06c6896bb9641c6dca9e0 /io_mesh_ply
parentb11d05fede5ddf38be70e8352363d3998d27dd38 (diff)
Fix T38462: error importing PLY with leading space
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/import_ply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py
index 9cf5df63..5d4f8244 100644
--- a/io_mesh_ply/import_ply.py
+++ b/io_mesh_ply/import_ply.py
@@ -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):