Merge pull request #7216 from hyperlogic/tony/attachment-render-fix

Avatar: fix for rendering avatar attachments
This commit is contained in:
Brad Hefta-Gaub 2016-02-26 15:43:13 -08:00
commit 581bd69d14

View file

@ -400,7 +400,7 @@ void Avatar::render(RenderArgs* renderArgs, const glm::vec3& cameraPosition) {
frustum = qApp->getDisplayViewFrustum();
}
if (frustum->sphereIntersectsFrustum(getPosition(), boundingRadius)) {
if (!frustum->sphereIntersectsFrustum(getPosition(), boundingRadius)) {
endRender();
return;
}