summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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