From e37203d833d0cf790acc7aeec17cf8c4ed271d73 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Fri, 3 Jan 2014 17:59:15 -0800 Subject: [PATCH] The overloaded function should be const, true. --- libraries/avatars/src/AvatarData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/avatars/src/AvatarData.h b/libraries/avatars/src/AvatarData.h index 1dd5dacafe..b76d889526 100755 --- a/libraries/avatars/src/AvatarData.h +++ b/libraries/avatars/src/AvatarData.h @@ -115,7 +115,7 @@ public: /// \param skeletonSkipIndex if not -1, the index of a joint to skip (along with its descendents) in the skeleton model /// \return whether or not the sphere penetrated virtual bool findSpherePenetration(const glm::vec3& penetratorCenter, float penetratorRadius, - glm::vec3& penetration, int skeletonSkipIndex = -1) { return false; } + glm::vec3& penetration, int skeletonSkipIndex = -1) const { return false; } protected: QUuid _uuid;