Update herosaver.js
This commit is contained in:
parent
42fd30a667
commit
6b6ac25fbc
|
@ -30,7 +30,7 @@ function init() {
|
||||||
var skeleton = object.skeleton;
|
var skeleton = object.skeleton;
|
||||||
var mesh = object;
|
var mesh = object;
|
||||||
console.log('Found Mesh' + mesh.name);
|
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){
|
if(geometry instanceof RK.BufferGeometry){
|
||||||
var oldgeometry = geometry.clone();
|
var oldgeometry = geometry.clone();
|
||||||
|
|
Loading…
Reference in New Issue