瀏覽代碼

fix: Matrix.ComposeToRef() didn't update the identity status

Kesshi 6 年之前
父節點
當前提交
50b20aecdc
共有 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();
     }
 
     /**