Просмотр исходного кода

Merge pull request #6187 from Kesshi/master

fix: Matrix.ComposeToRef() didn't update the identity status
David Catuhe 7 лет назад
Родитель
Сommit
9efe86f545
1 измененных файлов с 2 добавлено и 0 удалено
  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[14] = translation.z;
         m[15] = 1;
+
+        result._markAsUpdated();
     }
 
     /**