瀏覽代碼

Fix compilation

Popov72 5 年之前
父節點
當前提交
a4711d79c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Materials/materialHelper.ts

+ 1 - 1
src/Materials/materialHelper.ts

@@ -120,7 +120,7 @@ export class MaterialHelper {
      * @param useInstances defines if instances have to be turned on
      * @param useThinInstances defines if thin instances have to be turned on
      */
-    public static PrepareDefinesForFrameBoundValues(scene: Scene, engine: Engine, defines: any, useInstances: boolean, useClipPlane: Nullable<boolean> = null, useThinInstances: boolean): void {
+    public static PrepareDefinesForFrameBoundValues(scene: Scene, engine: Engine, defines: any, useInstances: boolean, useClipPlane: Nullable<boolean> = null, useThinInstances: boolean = false): void {
         var changed = false;
         let useClipPlane1 = false;
         let useClipPlane2 = false;