Browse Source

Match vertexbuffers previous behaviour

Ben Adams 9 years ago
parent
commit
792fb57aa4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Mesh/babylon.buffer.ts

+ 1 - 1
src/Mesh/babylon.buffer.ts

@@ -86,7 +86,7 @@
 
             if (this._updatable) { // update buffer
                 this._engine.updateDynamicVertexBuffer(this._buffer, data, offset, (vertexCount ? vertexCount * this.getStrideSize() : undefined));
-                this._data = data;
+                this._data = null;
             }
         }