From b93c24e535d92f723327d5aa09f747029c401bef Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 17 Jan 2024 22:46:35 +0200 Subject: [PATCH] Fix a bug with exporting vertex groups --- blender/io_mspgl/mesh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blender/io_mspgl/mesh.py b/blender/io_mspgl/mesh.py index e4db4afb..c738b8f3 100644 --- a/blender/io_mspgl/mesh.py +++ b/blender/io_mspgl/mesh.py @@ -71,8 +71,8 @@ class VertexGroup: self.group = args[0] self.weight = args[1] elif len(args)==1 and args[0]: - self.group = group.group - self.weight = group.weight + self.group = args[0].group + self.weight = args[0].weight else: self.group = 0 self.weight = 0.0 -- 2.45.2