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:
Diffstat (limited to 'io_mesh_ply/import_ply.py')
-rw-r--r--io_mesh_ply/import_ply.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py
index 3d0f2970..6d4326e4 100644
--- a/io_mesh_ply/import_ply.py
+++ b/io_mesh_ply/import_ply.py
@@ -209,8 +209,8 @@ import bpy
def load_ply(filepath):
import time
- from bpy_extras.io_utils import unpack_list, unpack_face_list
- from bpy_extras.image_utils import load_image
+ from bpy_extras.io_utils import unpack_face_list
+ # from bpy_extras.image_utils import load_image # UNUSED
t = time.time()
obj_spec, obj = read(filepath)
@@ -225,7 +225,7 @@ def load_ply(filepath):
for el in obj_spec.specs:
if el.name == b'vertex':
- vindices = vindices_x, vindices_y, vindices_z = el.index(b'x'), el.index(b'y'), el.index(b'z')
+ vindices_x, vindices_y, vindices_z = el.index(b'x'), el.index(b'y'), el.index(b'z')
# noindices = (el.index('nx'), el.index('ny'), el.index('nz'))
# if -1 in noindices: noindices = None
uvindices = (el.index(b's'), el.index(b't'))