소스 검색

Merge pull request #3369 from terotests/patch-1

Ground color setter missed underscore
Raanan Weber 7 년 전
부모
커밋
8eda3a708a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      proceduralTexturesLibrary/src/grass/babylon.grassProceduralTexture.ts

+ 2 - 2
proceduralTexturesLibrary/src/grass/babylon.grassProceduralTexture.ts

@@ -38,8 +38,8 @@ module BABYLON {
         }
 
         public set groundColor(value: Color3) {
-            this.groundColor = value;
+            this._groundColor = value;
             this.updateShaderUniforms();
         }
     }
-}
+}