summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-03-20 21:10:06 +0200
committerGitHub <noreply@github.com>2025-03-20 21:10:06 +0200
commitc695ae285fc14f1cce50a1cf1757b3a6e38308b8 (patch)
tree8fa60f412194b46adbb023b1a4cd382d605efd5f /indra
parentdee3257ffd9735f0cdaec643743b9dd8cd1920b3 (diff)
#3779 reset texture repeats when unchecking the Hide Water option
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index f491cccaf8..c4f118fed8 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -3077,6 +3077,8 @@ void LLPanelFace::onCommitHideWater()
{
// 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);
}
}