浏览代码

improved Node.SetMatrix()

Daniel Salvadori 7 年之前
父节点
当前提交
57bfa50d6a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      core/node.go

+ 0 - 1
core/node.go

@@ -632,7 +632,6 @@ func (n *Node) SetMatrix(m *math32.Matrix4) {
 
 	n.matrix = *m
 	n.matrix.Decompose(&n.position, &n.quaternion, &n.scale)
-	n.matNeedsUpdate = true
 }
 
 // Matrix returns a copy of the local transformation matrix.