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:
authorDalai Felinto <dfelinto@gmail.com>2018-12-07 04:14:38 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-12-07 04:14:38 +0300
commitec5d4c9a379f688f5350d42649fecf4023e4a805 (patch)
tree481f7ce7b86cb4610caf290fe2954694d76de441 /io_scene_ms3d
parent259f694d1489dfb58540d5fd21de1c6903581a02 (diff)
Fix T58896: Addons with ob.vertex_groups.new without name keywork
Original report: OBJ file import fails for objects with vertex groups defined when polygroups option is selected
Diffstat (limited to 'io_scene_ms3d')
-rw-r--r--io_scene_ms3d/ms3d_import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_ms3d/ms3d_import.py b/io_scene_ms3d/ms3d_import.py
index 5a2397a5..d5ef0015 100644
--- a/io_scene_ms3d/ms3d_import.py
+++ b/io_scene_ms3d/ms3d_import.py
@@ -771,7 +771,7 @@ class Ms3dImporter():
in ms3d_to_blender_vertex_groups.items():
ms3d_name = ms3d_model.joints[ms3d_bone_id].name
blender_vertex_group = blender_mesh_object.vertex_groups.new(
- ms3d_name)
+ name=ms3d_name)
for blender_vertex_id_weight in blender_vertex_index_weight_list:
blender_vertex_index = blender_vertex_id_weight[0]
blender_vertex_weight = blender_vertex_id_weight[1]