Преглед изворни кода

Remove wrong return (void)

Alexandre Carvallo пре 7 година
родитељ
комит
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);
         }
 
         /**