瀏覽代碼

Ground color setter missed underscore

Tero 7 年之前
父節點
當前提交
b23a84e983
共有 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();
         }
     }
-}
+}