X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=swig%2Fblender%2Fbl25.py;h=71f66365b6983286ab21d1dc77b24d242605096e;hb=f4804ad98eba965d2e8ad857777f63d315fd9563;hp=52a61b1837910906f5cbee99416fc3e62cdea5f7;hpb=923502c0cf0c0eaa4461d64c0b7ec621b12f6e32;p=meshio%2Fmeshio.git diff --git a/swig/blender/bl25.py b/swig/blender/bl25.py index 52a61b1..71f6636 100755 --- a/swig/blender/bl25.py +++ b/swig/blender/bl25.py @@ -239,6 +239,10 @@ class object: g.name=name g.color_set=color_set + @staticmethod + def boneGroups(o): + return object.getPose(o).bone_groups + class modifier: @staticmethod @@ -327,7 +331,7 @@ class material: @staticmethod def getTexture(material, index): - return material.texture_slots[index] + return material.texture_slots[index].texture @staticmethod def hasTexture(material):