X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=examples%2Fpmxbuilder.py;h=b2b75c2a2ddb34dc3f4dd9eeeb554a3cb0c53dbc;hb=924bae1667aea0f57dd3de11b1248c12bc9a95d1;hp=44a6907b4b9c284e8e69705902b7dd4a6b1d2aea;hpb=9605a347880a8ad2809383c6851661550fc23c6b;p=meshio%2Fpymeshio.git diff --git a/examples/pmxbuilder.py b/examples/pmxbuilder.py index 44a6907..b2b75c2 100644 --- a/examples/pmxbuilder.py +++ b/examples/pmxbuilder.py @@ -51,7 +51,7 @@ def build(path): m.diffuse_color[0], m.diffuse_color[1], m.diffuse_color[2], - m.diffuse_alpha) + m.alpha) if m.texture_index!=255: texturepath=os.path.join(basedir, model.textures[m.texture_index]) if os.path.isfile(texturepath):