diff options
author | Anchor Linden <anchor@lindenlab.com> | 2018-07-19 22:46:03 +0530 |
---|---|---|
committer | Anchor Linden <anchor@lindenlab.com> | 2018-07-19 22:46:03 +0530 |
commit | 7318bd61f7a7ea89e471a6e0f3cc310786a3b41c (patch) | |
tree | 431aa003f9817b98c363eb570e2e70d8b3e7b290 /indra/newview/llviewerregion.cpp | |
parent | 063d30e409d64d12a9ac3ca2d0328b55e49717f3 (diff) |
[MAINT-8873] - check for bakesOnMesh enabled sim feature, before creating universal wearable type
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rw-r--r-- | indra/newview/llviewerregion.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index feaafad2e1..98320247e0 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -3174,6 +3174,12 @@ bool LLViewerRegion::meshUploadEnabled() const mSimulatorFeatures["MeshUploadEnabled"].asBoolean()); } +bool LLViewerRegion::bakesOnMeshEnabled() const +{ + return (mSimulatorFeatures.has("BakesOnMeshEnabled") && + mSimulatorFeatures["BakesOnMeshEnabled"].asBoolean()); +} + bool LLViewerRegion::meshRezEnabled() const { return (mSimulatorFeatures.has("MeshRezEnabled") && |