summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-03-24 18:05:06 +0200
committerGitHub <noreply@github.com>2025-03-24 18:05:06 +0200
commit6b88a2bec27e24debb4eb4fe986850f36f8689a9 (patch)
treead061c6cbd076ee599404e40d498bdf60737c98d /indra/newview/llpanelface.cpp
parent0ec9bfaabde12d82ba6b840589f849b7cf279417 (diff)
#3780 disable water exclusion if user applies PBR or Media
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r--indra/newview/llpanelface.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index c4f118fed8..b7d9df6ea6 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -3075,10 +3075,7 @@ void LLPanelFace::onCommitHideWater()
}
else
{
- // reset texture to default plywood
- LLSelectMgr::getInstance()->selectionSetImage(DEFAULT_OBJECT_TEXTURE);
- // reset texture repeats, that might be altered by invisiprim script from wiki
- LLSelectMgr::getInstance()->selectionTexScaleAutofit(2.f);
+ LLSelectMgr::getInstance()->clearWaterExclusion();
}
}