Explorar o código

Merge pull request #3369 from terotests/patch-1

Ground color setter missed underscore
Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
8eda3a708a

+ 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();
         }
     }
-}
+}