diff --git a/README.md b/README.md index 792c6fc..2e020b3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Please **Always** think about the **developers** of such websites and try to **s 3. Paste the following ``` -var xhr=new XMLHttpRequest;xhr.open("get","https://raw.githubusercontent.com/TeaWithLucas/Herosaver/master/dist/saver.min.js",true);xhr.onreadystatechange=function(){if(xhr.readyState==4){var script=document.createElement("script");script.type="text/javascript";script.text=xhr.responseText;document.body.appendChild(script)}};xhr.send(null); +var xhr=new XMLHttpRequest;xhr.open("get","https://raw.githubusercontent.com/lkspencer/Herosaver/master/dist/saver.min.8169087c-e61e-44d9-a802-fd396bd71391.js",true);xhr.onreadystatechange=function(){if(xhr.readyState==4){var script=document.createElement("script");script.type="text/javascript";script.text=xhr.responseText;document.body.appendChild(script)}};xhr.send(null); ``` ### Loading via Greecemonkey or other script loader diff --git a/src/finalizeMesh.js b/src/finalizeMesh.js index d281246..8a36f40 100644 --- a/src/finalizeMesh.js +++ b/src/finalizeMesh.js @@ -38,6 +38,7 @@ export function parse(mesh) { .applyMatrix4(matrixScale); newGeometry.attributes.position.setXYZ(i, vertex.x, vertex.y, vertex.z); } else { + // TODO: does this line need the same condition as the ternary below? if (geometry.morphTargetInfluences !== undefined) { var morphVector = new Vector4(vertex.x, vertex.y, vertex.z); var tempMorph = new Vector4();