mirror of
https://github.com/diva/OnLook.git
synced 2026-08-14 00:58:01 +00:00
[OnLook] Don't render own shadows in cam only, show status bar in custom-ui.
This commit is contained in:
@@ -464,6 +464,11 @@ void LLDrawPoolAvatar::renderShadow(S32 pass)
|
||||
return;
|
||||
}
|
||||
|
||||
if (avatarp->isSelf() && LFSimFeatureHandler::instance().getOnLookMask() & 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
BOOL impostor = avatarp->isImpostor();
|
||||
if (impostor)
|
||||
{
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user