Added get functions for bones

This commit is contained in:
_ committed 2018-05-13 11:28:23 -07:00
1 parent c45c8d758a
commit 7835a8d90d
1 file changed
+8
+8
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
#--------------------------------------+