summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-06-19 17:49:05 -0400
committerOz Linden <oz@lindenlab.com>2015-06-19 17:49:05 -0400
commit1cfa126279f06bf4de7b78af0a2ab09a5a3a9759 (patch)
treeb876d992abbaf3636caa278d3b631c66532e9c9b
parent95fc2d48eced78b2aaa29b9e8b3f9410eed1ad8c (diff)
workarounds to get this building again; note: review mute list caching change before promoting
-rw-r--r--indra/newview/llpresetsmanager.cpp2
-rwxr-xr-xindra/newview/llvoavatar.cpp7
-rwxr-xr-xindra/newview/llvoavatar.h1
3 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp
index 9fa5282862..dd25c0d1b8 100644
--- a/indra/newview/llpresetsmanager.cpp
+++ b/indra/newview/llpresetsmanager.cpp
@@ -177,7 +177,7 @@ bool LLPresetsManager::savePreset(const std::string& subdirectory, const std::st
std::string pathName(getPresetsDir(subdirectory) + gDirUtilp->getDirDelimiter() + LLURI::escape(name) + ".xml");
// write to file
- llofstream presetsXML(pathName);
+ llofstream presetsXML(pathName.c_str());
if (!presetsXML.is_open())
{
LL_WARNS("Presets") << "Cannot open for output preset file " << pathName << LL_ENDL;
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index c3cc5a5fae..2037a92464 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -712,9 +712,7 @@ LLVOAvatar::LLVOAvatar(const LLUUID& id,
mIsEditingAppearance(FALSE),
mUseLocalAppearance(FALSE),
mLastUpdateRequestCOFVersion(-1),
- mLastUpdateReceivedCOFVersion(-1),
- mCachedMuteListUpdateTime(0),
- mCachedInMuteList(false)
+ mLastUpdateReceivedCOFVersion(-1)
{
LL_DEBUGS("AvatarRender") << "LLVOAvatar Constructor (0x" << this << ") id:" << mID << LL_ENDL;
@@ -3084,6 +3082,7 @@ bool LLVOAvatar::isVisuallyMuted() const
return ( mVisuallyMuteSetting == ALWAYS_VISUAL_MUTE );
}
+#if 0 // TBD
bool LLVOAvatar::isInMuteList()
{
bool muted = false;
@@ -3102,6 +3101,8 @@ bool LLVOAvatar::isInMuteList()
}
return muted;
}
+#endif
+
void LLVOAvatar::updateDebugText()
{
// clear debug text
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h
index ba12cb35a7..48f7ea92e1 100755
--- a/indra/newview/llvoavatar.h
+++ b/indra/newview/llvoavatar.h
@@ -385,7 +385,6 @@ public:
public:
U32 renderImpostor(LLColor4U color = LLColor4U(255,255,255,255), S32 diffuse_channel = 0);
bool isVisuallyMuted() const;
- bool isInMuteList();
void forceUpdateVisualMuteSettings();
enum VisualMuteSettings