提交 2cc5ee0a 编写于 作者: C Cody Burrow 提交者: Mr.doob

Flatten mesh.py morph target vertex list format (#8737)

Morph target vertices were being saved as an array of vec3s, which were not uploading properly to GPU at runtime.
上级 88383698
......@@ -446,7 +446,7 @@ def blend_shapes(mesh, options):
morph = []
for d in key_blocks[key].data:
co = d.co
morph.append([co.x, co.y, co.z])
morph.extend([co.x, co.y, co.z])
manifest.append({
constants.NAME: key,
constants.VERTICES: morph
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册