Alexandre Carvallo 7 лет назад
Родитель
Сommit
392f17c007
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Mesh/babylon.vertexBuffer.ts

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

@@ -238,7 +238,7 @@
          * @param useBytes set to true if the offset is in bytes
          */
         public updateDirectly(data: DataArray, offset: number, useBytes: boolean = false): void {
-            return this._buffer.updateDirectly(data, offset, undefined, useBytes);
+            this._buffer.updateDirectly(data, offset, undefined, useBytes);
         }
 
         /**