mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 12:14:00 +02:00
Merge pull request #4029 from Atlante45/new_glm_fix
Fix compile error with new glm version
This commit is contained in:
commit
a01ab38f1b
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