Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2021-12-07 17:27:55

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: 238
Location: San Francisco bay area, CA, USA
Reply with quote
Would something like the following diffs fix the issue:
--- 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 @@
    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

Joined: 2009-03-17 18:42:51
Posts: 4776
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 1 guest

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:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.