summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-04-25 10:38:35 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-04-25 10:38:35 -0700
commitb1d608ee99824fde13f3f16e0947ec5b54299fca (patch)
tree16cd1e25647963c01d3162faf044f6e508739dfe /indra
parent6de39cec19265320c4b9f38e50e1a847d3dee5d2 (diff)
Diagnostic message for debugging adv lighting enable fail on MB Air 2k11
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llfloaterpreference.cpp9
-rw-r--r--indra/newview/llpanelface.cpp1
2 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index bbf88060c1..ecbb15969c 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -1154,6 +1154,15 @@ void LLFloaterPreference::refreshEnabledState()
gSavedSettings.getBOOL("RenderAvatarVP") &&
(ctrl_wind_light->get()) ? TRUE : FALSE;
+ if (!enabled)
+ {
+ llinfos << "LLFloaterPreference: NOT ENABLING DEFFERED....feature available? "
+ << (LLFeatureManager::getInstance()->isFeatureAvailable("RenderDeferred") ? "yup" : "nope")
+ << " shaders? " << (shaders ? "yup" : "nope") << " FBO? " << (gGLManager.mHasFramebufferObject ? "yup" : "nope")
+ << " renderAvVP? " << (gSavedSettings.getBOOL("RenderAvatarVP") ? "yup" : "nope")
+ << " windlight? " << ((ctrl_wind_light->get()) ? "yup" : "nope") << llendl;
+ }
+
ctrl_deferred->setEnabled(enabled);
LLCheckBoxCtrl* ctrl_ssao = getChild<LLCheckBoxCtrl>("UseSSAO");
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 2d2a0d6d0c..6b50a97e8d 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -1878,6 +1878,7 @@ void LLPanelFace::updateMaterial()
material_to_set = new LLMaterial(*mMaterial);
}
}
+
LLSelectMgr::getInstance()->selectionSetMaterial( material_to_set );
}
else