Update herosaver.js

This commit is contained in:
L.Kerck 2019-08-16 21:15:51 +02:00 committed by GitHub
parent 42fd30a667
commit 6b6ac25fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function init() {
var skeleton = object.skeleton;
var mesh = object;
console.log('Found Mesh' + mesh.name);
if(typeof onlyExportThisMesh !== 'undefined' && mesh.name !== onlyExportThisMesh) return;
if(typeof onlyExportThisMesh !== 'undefined' && mesh.name != onlyExportThisMesh) return;
if(geometry instanceof RK.BufferGeometry){
var oldgeometry = geometry.clone();