mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 20:56:57 +02:00
Remove joint.transform self-assignment
This commit is contained in:
parent
ff908a36d6
commit
61825f2e06
1 changed files with 0 additions and 1 deletions
|
@ -1015,7 +1015,6 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
|
||||||
joint.transform = parentJoint.transform * joint.transform;
|
joint.transform = parentJoint.transform * joint.transform;
|
||||||
joint.globalTransform = joint.globalTransform * parentJoint.globalTransform;
|
joint.globalTransform = joint.globalTransform * parentJoint.globalTransform;
|
||||||
} else {
|
} else {
|
||||||
joint.transform = joint.transform;
|
|
||||||
joint.globalTransform = hfmModel.offset * joint.globalTransform;
|
joint.globalTransform = hfmModel.offset * joint.globalTransform;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue