Ben Adams 9 rokov pred
rodič
commit
9135d639d4
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      src/Materials/babylon.effect.ts

+ 4 - 4
src/Materials/babylon.effect.ts

@@ -451,8 +451,8 @@
                 cache[1] = y;
                 changed = true;
             }
-            if (cache[2] !== y) {
-                cache[2] = y;
+            if (cache[2] !== z) {
+                cache[2] = z;
                 changed = true;
             }
 
@@ -477,8 +477,8 @@
                 cache[1] = y;
                 changed = true;
             }
-            if (cache[2] !== y) {
-                cache[2] = y;
+            if (cache[2] !== z) {
+                cache[2] = z;
                 changed = true;
             }
             if (cache[3] !== w) {