Kaynağa Gözat

Merge pull request #6187 from Kesshi/master

fix: Matrix.ComposeToRef() didn't update the identity status
David Catuhe 6 yıl önce
ebeveyn
işleme
9efe86f545
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      src/Maths/math.ts

+ 2 - 0
src/Maths/math.ts

@@ -5321,6 +5321,8 @@ export class Matrix {
         m[13] = translation.y;
         m[13] = translation.y;
         m[14] = translation.z;
         m[14] = translation.z;
         m[15] = 1;
         m[15] = 1;
+
+        result._markAsUpdated();
     }
     }
 
 
     /**
     /**