Added get functions for bones

This commit is contained in:
_ 2018-05-13 11:28:23 -07:00
parent c45c8d758a
commit 7835a8d90d

View File

@ -379,6 +379,14 @@ class MEsh:
length = self.cstruct.b.contents.bd.contents.numVertex
return self.cstruct.b.contents.vd.u[:length]
def getboneindexes(self):
length = self.cstruct.b.contents.bd.contents.numVertex
return self.cstruct.b.contents.vd.bi[:length]
def getboneweights(self):
length = self.cstruct.b.contents.bd.contents.numVertex
return self.cstruct.b.contents.vd.bw[:length]
#--------------------------------------+
# Regular Python
#--------------------------------------+