[OnLook] Don't render own shadows in cam only, show status bar in custom-ui.

This commit is contained in:
Inusaito Sayori
2014-11-17 22:45:08 -05:00
parent 072f92cc79
commit 8b752afe74
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -464,6 +464,11 @@ void LLDrawPoolAvatar::renderShadow(S32 pass)
return;
}
if (avatarp->isSelf() && LFSimFeatureHandler::instance().getOnLookMask() & 1)
{
return;
}
BOOL impostor = avatarp->isImpostor();
if (impostor)
{
-1
View File
@@ -331,7 +331,6 @@ void onlook_mask_changed(const U8& mask)
// Now hide the UI, if needed
bool visible(~mask & 2);
gMenuBarView->setVisible(visible);
gStatusBar->setVisible(visible);
gStatusBar->setEnabled(visible);
// Cameras get no floaters in the way, but don't interrupt mouselook, otherwise.
bool ml(gAgentCamera.cameraMouselook());