From 727ff4a6a3a7a884a0eb860e6296cc22776bd35e Mon Sep 17 00:00:00 2001 From: Thiago Almeida Vergani Date: Mon, 6 Apr 2020 13:05:45 -0300 Subject: [PATCH] More Corrections --- README.md | 2 +- src/finalizeMesh.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d345255..0d5c0f1 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/SaiDAV/SaverSTL/master/herosaver.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/SaiDAV/SaverSTL/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); ``` ### Loading via Greecemonkey or other script loader diff --git a/src/finalizeMesh.js b/src/finalizeMesh.js index cdc2d67..12d5d33 100644 --- a/src/finalizeMesh.js +++ b/src/finalizeMesh.js @@ -34,7 +34,7 @@ finalizeMesh.prototype = { if (geometry.skinIndexNames == undefined || geometry.skinIndexNames == 0) { - vertex.applyMatrix4(mesh.matrixWorld).applyMatrix4(mrot).applyMatrix4(msca); + vertex.applyMatrix4(mesh.matrixWorld); //.applyMatrix4(mrot).applyMatrix4(msca); newGeometry.attributes.position.setXYZ(i, vertex.x, vertex.y, vertex.z); } else { var finalVector = new Vector4();