Explorar el Código

Match vertexbuffers previous behaviour

Ben Adams hace 9 años
padre
commit
792fb57aa4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
             }
         }