summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolwlsky.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-12-02 12:36:26 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-12-02 14:24:25 +0200
commit1d5332b23265f567e4b9ac5364c95f3837f63b71 (patch)
tree363d1ed872d759ad5be19cb64a3326022e6f0920 /indra/newview/lldrawpoolwlsky.cpp
parent3812fb0f41723ea359ecffaefa2ca10e83ae679f (diff)
SL-18448 When initing views and object has pbr, open pbr in texture tab
Diffstat (limited to 'indra/newview/lldrawpoolwlsky.cpp')
-rw-r--r--indra/newview/lldrawpoolwlsky.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp
index f09d1abe2d..c71d466830 100644
--- a/indra/newview/lldrawpoolwlsky.cpp
+++ b/indra/newview/lldrawpoolwlsky.cpp
@@ -283,6 +283,11 @@ void LLDrawPoolWLSky::renderStars(const LLVector3& camPosLocal) const
void LLDrawPoolWLSky::renderStarsDeferred(const LLVector3& camPosLocal) const
{
+ if (!gSky.mVOSkyp)
+ {
+ return;
+ }
+
LLGLSPipelineBlendSkyBox gls_sky(true, false);
gGL.setSceneBlendType(LLRender::BT_ADD_WITH_ALPHA);