mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
Fix compile error with new glm version
This commit is contained in:
parent
bd88e0f38d
commit
b1f0ec8dfb
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ void JointState::clearTransformTranslation() {
|
||||||
void JointState::applyRotationDelta(const glm::quat& delta, bool constrain, float priority) {
|
void JointState::applyRotationDelta(const glm::quat& delta, bool constrain, float priority) {
|
||||||
// NOTE: delta is in model-frame
|
// NOTE: delta is in model-frame
|
||||||
assert(_fbxJoint != NULL);
|
assert(_fbxJoint != NULL);
|
||||||
if (priority < _animationPriority || delta.null) {
|
if (priority < _animationPriority || delta == glm::quat()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_animationPriority = priority;
|
_animationPriority = priority;
|
||||||
|
|
Loading…
Reference in a new issue