summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2020-03-05 14:13:39 +0200
committermaxim_productengine <mnikolenko@productengine.com>2020-03-05 14:13:39 +0200
commitedb4373f7d2a32beb93a7f69ddcdf5e1bc0eb6a1 (patch)
treea6c84761b79f25ab1466e65d580b2598f9c7eb60 /indra/newview/llvosky.cpp
parentd2120bb28192504a3de76c0af15c5a04adffa206 (diff)
SL-9775 FIXED EEP viewer crash when looking at the sun (which is playing parcel media)
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r--indra/newview/llvosky.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index 943704c8de..2037aca7e9 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -881,6 +881,10 @@ LLDrawable *LLVOSky::createDrawable(LLPipeline *pipeline)
mFace[FACE_MOON] = mDrawable->addFace(poolp, nullptr);
mFace[FACE_BLOOM] = mDrawable->addFace(poolp, nullptr);
+ mFace[FACE_SUN]->setMediaAllowed(false);
+ mFace[FACE_MOON]->setMediaAllowed(false);
+ mFace[FACE_BLOOM]->setMediaAllowed(false);
+
return mDrawable;
}