Update herosaver.js

This commit is contained in:
L.Kerck 2019-09-29 01:08:17 +02:00 committed by GitHub
parent a758db8bf2
commit c7b86d6d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ function init() {
if(geometry instanceof RK.BufferGeometry){
var oldgeometry = geometry.clone();
geometry = new RK.Geometry().fromBufferGeometry(geometry);
var skinIndex = oldgeometry.getAttribute('skinIndex');
var skinWeight = oldgeometry.getAttribute('skinWeight');
var skinIndex = oldgeometry.getAttribute('skinIndex0');
var skinWeight = oldgeometry.getAttribute('skinWeight0');
var morphTarget = oldgeometry.getAttribute('morphTarget0');
var mtcount = 0;
while(typeof morphTarget !== 'undefined') {