diff --git a/autobuild.xml b/autobuild.xml
index ae084fe9d0..4b77e62b66 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -3030,11 +3030,11 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors
archive
name
darwin64
@@ -3044,11 +3044,11 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors
archive
name
linux64
@@ -3058,11 +3058,11 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors
archive
name
windows64
diff --git a/indra/cmake/Linking.cmake b/indra/cmake/Linking.cmake
index 900a64e2dd..4dd60c55ea 100644
--- a/indra/cmake/Linking.cmake
+++ b/indra/cmake/Linking.cmake
@@ -43,6 +43,7 @@ if(NOT DARWIN)
link_directories(${AUTOBUILD_INSTALL_DIR}/lib/release)
endif(NOT DARWIN)
+
add_library( ll::oslibraries INTERFACE IMPORTED )
if (LINUX)
diff --git a/indra/llrender/llgltexture.cpp b/indra/llrender/llgltexture.cpp
index 87e7400a24..1143f54d1e 100644
--- a/indra/llrender/llgltexture.cpp
+++ b/indra/llrender/llgltexture.cpp
@@ -63,6 +63,10 @@ LLGLTexture::~LLGLTexture()
void LLGLTexture::init()
{
mBoostLevel = LLGLTexture::BOOST_NONE;
+ // [FIRE-36016] - Re-added Store/Restore boost levels of selected objects
+ // Added a previous boost level to allow for restoring boost after BOOST_SELECTED is applied
+ mPrevBoostLevel = LLGLTexture::BOOST_NONE;
+ // [FIRE-36016]
mFullWidth = 0;
mFullHeight = 0;
@@ -107,6 +111,20 @@ void LLGLTexture::setBoostLevel(S32 level)
}
}
+// [FIRE-36016] - Re-added Store/Restore boost levels of selected objects
+// Changes the current boost level back to the previous value
+void LLGLTexture::restoreBoostLevel()
+{
+ mBoostLevel = mPrevBoostLevel;
+}
+
+// Stores the current boost level in the previous boost
+void LLGLTexture::storeBoostLevel()
+{
+ mPrevBoostLevel = mBoostLevel;
+}
+// [FIRE-36016]
+
void LLGLTexture::forceActive()
{
mTextureState = ACTIVE ;
diff --git a/indra/llrender/llgltexture.h b/indra/llrender/llgltexture.h
index 48132fa956..bc06784917 100644
--- a/indra/llrender/llgltexture.h
+++ b/indra/llrender/llgltexture.h
@@ -101,6 +101,10 @@ public:
void setBoostLevel(S32 level);
S32 getBoostLevel() { return mBoostLevel; }
+ // [FIRE-36016] - Re-added Store/Restore boost levels of selected objects
+ void restoreBoostLevel(); // Now restores the mBoostLevel with the mPrevBoostLevel
+ void storeBoostLevel(); // Stores the current mBoostLevel in mPrevBoostLevel
+ // [FIRE-36016]
S32 getFullWidth() const { return mFullWidth; }
S32 getFullHeight() const { return mFullHeight; }
@@ -183,6 +187,9 @@ public:
protected:
S32 mBoostLevel; // enum describing priority level
+ // [FIRE-36016] - Re-added Store/Restore boost levels of selected objects
+ S32 mPrevBoostLevel; // enum describing priority level (Previous Value for BOOST_SELECTION restore)
+ // [FIRE-36016]
U32 mFullWidth;
U32 mFullHeight;
bool mUseMipMaps;
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 0c8c7d3012..d76bf3f29a 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -1546,9 +1546,6 @@ void LLShaderMgr::initAttribsAndUniforms()
// reserved uniforms for snapshot frame
mReservedUniforms.push_back("border_color");
mReservedUniforms.push_back("border_thickness");
- mReservedUniforms.push_back("guide_color");
- mReservedUniforms.push_back("guide_thickness");
- mReservedUniforms.push_back("guide_style");
mReservedUniforms.push_back("frame_rect");
//
@@ -1565,4 +1562,3 @@ void LLShaderMgr::initAttribsAndUniforms()
dupe_check.insert(mReservedUniforms[i]);
}
}
-
diff --git a/indra/llrender/llshadermgr.h b/indra/llrender/llshadermgr.h
index f7e9649cba..5cbc6f40c1 100644
--- a/indra/llrender/llshadermgr.h
+++ b/indra/llrender/llshadermgr.h
@@ -357,9 +357,6 @@ public:
// Uniforms for snapshot frame
SNAPSHOT_BORDER_COLOR, // "border_color"
SNAPSHOT_BORDER_THICKNESS, // "border_thickness"
- SNAPSHOT_GUIDE_COLOR, // "guide_color"
- SNAPSHOT_GUIDE_THICKNESS, // "guide_thickness"
- SNAPSHOT_GUIDE_STYLE, // "guide_style"
SNAPSHOT_FRAME_RECT, // "frame_rect"
//
END_RESERVED_UNIFORMS
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 548ee2037d..2c07eb2410 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -2464,7 +2464,7 @@ void LLFloater::drawConeToOwner(F32 &context_cone_opacity,
LLRect local_rect = getLocalRect();
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
- LLGLEnable(GL_CULL_FACE);
+ LLGLEnable cull_face(GL_CULL_FACE);
gGL.begin(LLRender::TRIANGLE_STRIP);
{
gGL.color4f(0.f, 0.f, 0.f, contex_cone_in_alpha * context_cone_opacity);
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index 828896f620..d5182b16e7 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -1495,6 +1495,10 @@ void freePeerConnection(LLWebRTCPeerConnectionInterface* peer_connection)
void init(LLWebRTCLogCallback* logCallback)
{
+ if (gWebRTCImpl)
+ {
+ return;
+ }
gWebRTCImpl = new LLWebRTCImpl(logCallback);
gWebRTCImpl->init();
}
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 41e05c58f8..a79ccd7ad3 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -26650,6 +26650,28 @@ Change of this parameter will affect the layout of buttons in notification toast
Value
1.0
+ FSSnapshotGuideVisibility
+
+ FSSnapshotGuideStyle
+
FSManipRotateJointUseNaturalDirection