[Bf-extensions-cvs] [9e1039d] master: Edit recent commit, no need to assign dummy vars

Campbell Barton noreply at git.blender.org
Mon Mar 9 09:20:37 CET 2015


Commit: 9e1039dc5e217aef7c0974e803ebef0b3aa1bd06
Author: Campbell Barton
Date:   Mon Mar 9 19:19:32 2015 +1100
Branches: master
https://developer.blender.org/rBA9e1039dc5e217aef7c0974e803ebef0b3aa1bd06

Edit recent commit, no need to assign dummy vars

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

M	io_scene_obj/import_obj.py

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

diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index 6f8e955..9be826f 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, _6 = face
+                face_vert_loc_indices = face[0]
                 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