Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2020-08-10 11:27:07



Reply to topic  [ 2 posts ] 
Cull water does not show correct value in settings panel 
Author Message

Joined: 2016-06-19 21:33:37
Posts: 189
Location: San Francisco bay area, CA, USA
Reply with quote
Would something like the following diffs fix the issue:
Code:
--- linden_28_0_orig/indra/newview/llprefsgraphics.cpp   2020-07-14 02:40:25.000000000 -0700
+++ linden_28_0/indra/newview/llprefsgraphics.cpp   2020-07-22 17:05:46.133614891 -0700
@@ -522,6 +522,7 @@
    mCtrlOcclusion->setCommitCallback(onCommitOcclusion);
    mCtrlOcclusion->setCallbackUserData(this);
    mCtrlWaterOcclusion = getChild<LLComboBox>("water_occlusion");
+   mCtrlWaterOcclusion->setCurrentByIndex(gSavedSettings.getU32("RenderWaterCull"));
    childSetCommitCallback("texture_compression", onCommitCheckBox, this);
    childSetVisible("after_restart", LLStartUp::isLoggedIn());
 
@@ -891,7 +892,7 @@
    gSavedSettings.setBool("RenderVBOEnable", mUseVBO);
    gSavedSettings.setBool("RenderUseStreamVBO", mUseStreamVBO);
    gSavedSettings.setBool("RenderAnisotropic", mUseAniso);
-   gSavedSettings.setBool("RenderWaterCull", mRenderWaterCull);
+   gSavedSettings.setU32("RenderWaterCull", mRenderWaterCull);
    gSavedSettings.setU32("RenderFSAASamples", mFSAASamples);
    gSavedSettings.setF32("DisplayGamma", mGamma);
    gSavedSettings.setS32("TextureMemory", mVideoCardMem);
I have applied them to my build and it seems to show in the panel correctly.


2020-07-22 23:59:08
Profile

Joined: 2009-03-17 18:42:51
Posts: 4310
Reply with quote
Thanks, but I already fixed this bug days ago (noticed it just after Saturday's release, i.e. a few hours too late). The fix will be in next release.


2020-07-23 08:37:06
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.