Explorar el Código

missing optional paramter

David Catuhe hace 8 años
padre
commit
47ad35afc7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Materials/babylon.material.ts

+ 1 - 1
src/Materials/babylon.material.ts

@@ -505,7 +505,7 @@
         }
 
         // Force shader compilation including textures ready check
-        public forceCompilation(mesh: AbstractMesh, onCompiled: (material: Material) => void, options: { alphaTest: boolean }): void {
+        public forceCompilation(mesh: AbstractMesh, onCompiled: (material: Material) => void, options?: { alphaTest: boolean }): void {
             var subMesh = new BaseSubMesh();
             var scene = this.getScene();
             var engine = scene.getEngine();