From: Mikko Rasa Date: Wed, 17 Jan 2024 20:46:35 +0000 (+0200) Subject: Fix a bug with exporting vertex groups X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=b93c24e535d92f723327d5aa09f747029c401bef;p=libs%2Fgl.git Fix a bug with exporting vertex groups --- 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