From: ousttrue Date: Sun, 20 Jun 2010 14:24:15 +0000 (+0900) Subject: fix pmd. fix mqo. X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=1e3c090a4bd6b08e5b20758a4e2c896bbe932090;p=meshio%2Fmeshio.git fix pmd. fix mqo. --- diff --git a/swig/blender/bl24.py b/swig/blender/bl24.py index a843938..4eceed0 100644 --- a/swig/blender/bl24.py +++ b/swig/blender/bl24.py @@ -532,7 +532,7 @@ def meshAddMaterial(mesh, material): def meshAddMqoGeometry(mesh, o, materials, imageMap, scale): # add vertices mesh.verts.extend(Mathutils.Vector(0, 0, 0)) # dummy - mesh.verts.extend([(v.x, -v.z, v.y) for v in o.vertices]) + mesh.verts.extend([(v.x * scale, -v.z * scale, v.y * scale) for v in o.vertices]) # add faces mesh_faces=[] for face in o.faces: @@ -779,6 +779,13 @@ def boneLayerMask(bone, layers): mask+=(1<