Merge branch 'avatar-interaction' of ssh://github.com/AndrewMeadows/hifi into avatar-interaction

This commit is contained in:
Andrew Meadows 2014-02-12 08:31:05 -08:00
commit cc70e099bf

View file

@ -725,9 +725,7 @@ void Model::renderCollisionProxies(float alpha) {
bool Model::collisionHitsMoveableJoint(ModelCollisionInfo& collision) const {
// the joint is pokable by a collision if it exists and is free to move
const FBXJoint& joint = _geometry->getFBXGeometry().joints[collision._jointIndex];
if (joint.parentIndex == -1 ||
_jointStates.isEmpty())
{
if (joint.parentIndex == -1 || _jointStates.isEmpty()) {
return false;
}
// an empty freeLineage means the joint can't move