mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 06:22:10 +02:00
wrap more displaySide() items for not rendering when in mini rear view mode
This commit is contained in:
parent
8cd47762e3
commit
3efc277aae
1 changed files with 52 additions and 50 deletions
|
@ -2779,6 +2779,7 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) {
|
|||
|
||||
_myAvatar.renderScreenTint(SCREEN_TINT_AFTER_AVATARS, whichCamera);
|
||||
|
||||
if (!selfAvatarOnly) {
|
||||
// Render the world box
|
||||
if (whichCamera.getMode() != CAMERA_MODE_MIRROR && Menu::getInstance()->isOptionChecked(MenuOption::Stats)) {
|
||||
renderWorldBox();
|
||||
|
@ -2841,6 +2842,7 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) {
|
|||
|
||||
glPopMatrix();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Application::displayOverlay() {
|
||||
|
|
Loading…
Reference in a new issue