|
@@ -60,7 +60,7 @@ class HMDOut extends BaseLibrary {
|
|
var vbuf = new hxd.FloatBuffer();
|
|
var vbuf = new hxd.FloatBuffer();
|
|
var ibufs = [];
|
|
var ibufs = [];
|
|
|
|
|
|
- if( skin.isSplit() )
|
|
|
|
|
|
+ if( skin != null && skin.isSplit() )
|
|
for( _ in skin.splitJoints ) ibufs.push(new hxd.IndexBuffer());
|
|
for( _ in skin.splitJoints ) ibufs.push(new hxd.IndexBuffer());
|
|
|
|
|
|
g.bounds = new h3d.col.Bounds();
|
|
g.bounds = new h3d.col.Bounds();
|