<p dir="auto">In the Blender Export 4.4 there is an issue with the vertices of morph targets. They are parsed as triplets of arrays: <code class="notranslate">[[x,y,z],[x,y,z],...]</code> but should be one singel array <code class="notranslate">[x,y,z,x,y,z]</code>.</p>
<p dir="auto">I'm not good enough with python to make the change, but I think it's <code class="notranslate">extend([vertex.co.x, vertex.co.y, vertex.co.z])</code> that should be <code class="notranslate">extend((vertex.co.x, vertex.co.y, vertex.co.z))</code> on line 409 in mesh.py.</p>
<p dir="auto">I't worked for me when changing in the exported json object directly.</p>
<h5 dir="auto">Description of the problem</h5>
<p dir="auto">Many of the Blender examples have morph targets, however I've been trying to export a mesh from Blender and morph targets aren't exported.</p>
<p dir="auto">You can see shape keys are set up in Blender, and keyed in the "Shape Key Editor" view:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/79215/14727522/9ed423da-07e0-11e6-8efe-b50fc514a23a.png"><img src="https://cloud.githubusercontent.com/assets/79215/14727522/9ed423da-07e0-11e6-8efe-b50fc514a23a.png" alt="screen shot 2016-04-21 at 4 43 43 pm" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/79215/14727523/9ed4206a-07e0-11e6-9289-1ea1745b400c.png"><img src="https://cloud.githubusercontent.com/assets/79215/14727523/9ed4206a-07e0-11e6-9289-1ea1745b400c.png" alt="screen shot 2016-04-21 at 4 43 41 pm" style="max-width: 100%;"></a></p>
<p dir="auto">However on export to JSON there are no morph targets. Only one empty array under they <code class="notranslate">"geometry"</code> key, <code class="notranslate">"morphTargets":[],</code>.</p>
<p dir="auto">Exporter settings include morph:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/79215/14727556/ecebfe30-07e0-11e6-8f00-553fa1545f75.png"><img src="https://cloud.githubusercontent.com/assets/79215/14727556/ecebfe30-07e0-11e6-8f00-553fa1545f75.png" alt="screen shot 2016-04-21 at 4 45 33 pm" style="max-width: 100%;"></a></p>
<p dir="auto"><a href="https://github.com/mrdoob/three.js/files/230900/eye-test.blend.zip">You can download the .blend file in question to try this out: <strong>eye-test.blend.zip</strong></a></p>
<h5 dir="auto">Three.js version</h5>
<ul dir="auto">
<li><g-emoji class="g-emoji" alias="white_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png">✅</g-emoji>  Dev</li>
<li><g-emoji class="g-emoji" alias="white_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png">✅</g-emoji>  r76</li>
</ul>