Feature Request: Setting to disable lighting change of appearance mode
This commit is contained in:
@@ -2116,6 +2116,17 @@ This should be as low as possible, but too low may break functionality</string>
|
|||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
</map>
|
</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>
|
<key>ApplyColorImmediately</key>
|
||||||
<map>
|
<map>
|
||||||
<key>Comment</key>
|
<key>Comment</key>
|
||||||
|
|||||||
@@ -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(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);
|
setVisibleAndFrontmost(TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user