Browse Source

Remove wrong return (void)

Alexandre Carvallo 7 years ago
parent
commit
392f17c007
1 changed files with 1 additions and 1 deletions
  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
          * @param useBytes set to true if the offset is in bytes
          */
          */
         public updateDirectly(data: DataArray, offset: number, useBytes: boolean = false): void {
         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);
         }
         }
 
 
         /** 
         /**