|
@@ -918,7 +918,7 @@ module BABYLON {
|
|
|
for (kind in this._vertexBuffers) {
|
|
|
// using slice() to make a copy of the array and not just reference it
|
|
|
var data = this.getVerticesData(kind);
|
|
|
-
|
|
|
+
|
|
|
if (data) {
|
|
|
if (data instanceof Float32Array) {
|
|
|
vertexData.set(new Float32Array(<Float32Array>data), kind);
|