mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +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) {
|
||||
// NOTE: delta is in model-frame
|
||||
assert(_fbxJoint != NULL);
|
||||
if (priority < _animationPriority || delta.null) {
|
||||
if (priority < _animationPriority || delta == glm::quat()) {
|
||||
return;
|
||||
}
|
||||
_animationPriority = priority;
|
||||
|
|
Loading…
Reference in a new issue