diff options
author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2024-02-06 01:31:13 -0800 |
---|---|---|
committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2024-02-06 01:31:13 -0800 |
commit | 086249191078bcfb81d2697509c325fb34ffaf94 (patch) | |
tree | db95883581363507f502cf2dc76a1a5d0185bf0a /indra/llprimitive/llprimitive.cpp | |
parent | 75b67c3750083e5ea150432d999866a0e383f927 (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.cpp | 13 |
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() { |