Feature Request: Setting to disable lighting change of appearance mode

This commit is contained in:
Lirusaito
2013-07-22 23:02:02 -04:00
parent d64c9a343c
commit 989e4332b7
2 changed files with 12 additions and 1 deletions

View File

@@ -2116,6 +2116,17 @@ This should be as low as possible, but too low may break functionality</string>
<key>Value</key>
<integer>1</integer>
</map>
<key>AppearanceSpecialLighting</key>
<map>
<key>Comment</key>
<string>When in appearance editing mode, avatar is shown with special lighting</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<boolean>1</boolean>
</map>
<key>ApplyColorImmediately</key>
<map>
<key>Comment</key>

View File

@@ -629,7 +629,7 @@ void LLFloaterCustomize::updateVisiblity(bool force_disable_camera_switch/*=fals
{
if(force_disable_camera_switch || !gAgentCamera.cameraCustomizeAvatar() || !gAgentCamera.getCameraAnimating() || (gMorphView && gMorphView->getVisible()))
{
if(gAgentAvatarp)gAgentAvatarp->mSpecialRenderMode = 3;
if (gAgentAvatarp && gSavedSettings.getBOOL("AppearanceSpecialLighting")) gAgentAvatarp->mSpecialRenderMode = 3;
setVisibleAndFrontmost(TRUE);
}
}