summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llprimitive.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2024-02-06 01:31:13 -0800
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2024-02-06 01:31:13 -0800
commit086249191078bcfb81d2697509c325fb34ffaf94 (patch)
treedb95883581363507f502cf2dc76a1a5d0185bf0a /indra/llprimitive/llprimitive.cpp
parent75b67c3750083e5ea150432d999866a0e383f927 (diff)
#679 Add mirror update params to the volume floater.
#740 Add support for FLAG_MIRROR in the viewer for mirror probes.
Diffstat (limited to 'indra/llprimitive/llprimitive.cpp')
-rw-r--r--indra/llprimitive/llprimitive.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp
index f67959de5b..0f538ffd0c 100644
--- a/indra/llprimitive/llprimitive.cpp
+++ b/indra/llprimitive/llprimitive.cpp
@@ -1968,6 +1968,19 @@ void LLReflectionProbeParams::setIsDynamic(bool is_dynamic)
}
}
+
+void LLReflectionProbeParams::setIsMirror(bool is_mirror)
+{
+ if (is_mirror)
+ {
+ mFlags |= FLAG_MIRROR;
+ }
+ else
+ {
+ mFlags &= ~FLAG_MIRROR;
+ }
+}
+
//============================================================================
LLFlexibleObjectData::LLFlexibleObjectData()
{