Browse Source

Merge pull request #4390 from dad72/patch-6

Update babylon.mixMaterial.ts
David Catuhe 7 năm trước cách đây
mục cha
commit
b4f4514c5c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      materialsLibrary/src/mix/babylon.mixMaterial.ts

+ 1 - 1
materialsLibrary/src/mix/babylon.mixMaterial.ts

@@ -319,7 +319,7 @@ module BABYLON {
                     }
                 }
 
-                if (this.mixTexture2) {
+                if (this._mixTexture2) {
                     this._activeEffect.setTexture("mixMap2Sampler", this._mixTexture2);
 
                     if (StandardMaterial.DiffuseTextureEnabled) {