Fix compile error with new glm version

This commit is contained in:
Atlante45 2014-12-31 15:49:56 -08:00
parent bd88e0f38d
commit b1f0ec8dfb

View file

@ -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;