updated usage url

This commit is contained in:
Kirk Spencer 2020-03-27 15:37:41 -07:00
parent 514c100db0
commit 8508155076
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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();