[Bf-extensions-cvs] [ff55477] master: Fix T43934: import obj file fails ( error )

Bastien Montagne noreply at git.blender.org
Mon Mar 9 08:57:18 CET 2015


Commit: ff55477ebf63ebbfaf7a5f258ecfd0d117fef5ba
Author: Bastien Montagne
Date:   Mon Mar 9 08:56:35 2015 +0100
Branches: master
https://developer.blender.org/rBAff55477ebf63ebbfaf7a5f258ecfd0d117fef5ba

Fix T43934: import obj file fails ( error )

Stupid mistake in own recent work on OBJ...

===================================================================

M	io_scene_obj/import_obj.py

===================================================================

diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index bc184b4..6f8e955 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -957,7 +957,7 @@ def load(operator, context, filepath,
                 line_split = line_split[1:]
                 # Instantiate a face
                 face = create_face(context_material, context_smooth_group, context_object)
-                face_vert_loc_indices, _1, _2, _3, _4, _5 = face
+                face_vert_loc_indices, _1, _2, _3, _4, _5, _6 = face
                 faces.append(face)
             # Else, use face_vert_loc_indices and face_vert_tex_indices previously defined and used the obj_face



More information about the Bf-extensions-cvs mailing list