]> git.tdb.fi Git - libs/gl.git/commit
Fix and improve vertex group support
authorMikko Rasa <tdb@tdb.fi>
Sun, 28 Mar 2021 09:46:33 +0000 (12:46 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 28 Mar 2021 09:46:45 +0000 (12:46 +0300)
commite1d07383b29e8581230b50f45606192d1f21f5dd
tree533ae3021a4966f791ed98039e157ccdd22981ff
parentf398c65c9e741ca4919a0770e096c15e8d33c1c2
Fix and improve vertex group support

Some parts of the export code had gotten out of sync in 306be12.

Groups and weights now have dedicated attributes instead of using an
arbitrary generic attribute.  They're also separate attributes,
allowing up to four groups per vertex.
blender/io_mspgl/export_mesh.py
blender/io_mspgl/mesh.py
source/builders/vertexbuilder.h
source/core/vertexarray.cpp
source/core/vertexformat.cpp
source/core/vertexformat.h