mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 12:12:32 +02:00
Avatar: fix for rendering avatar attachments
This commit is contained in:
parent
7457b73e74
commit
9a01c93322
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ void Avatar::render(RenderArgs* renderArgs, const glm::vec3& cameraPosition) {
|
||||||
frustum = qApp->getDisplayViewFrustum();
|
frustum = qApp->getDisplayViewFrustum();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frustum->sphereIntersectsFrustum(getPosition(), boundingRadius)) {
|
if (!frustum->sphereIntersectsFrustum(getPosition(), boundingRadius)) {
|
||||||
endRender();
|
endRender();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue