Pārlūkot izejas kodu

Merge pull request #3369 from terotests/patch-1

Ground color setter missed underscore
Raanan Weber 7 gadi atpakaļ
vecāks
revīzija
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();
         }
     }
-}
+}