diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp index 9fa5282862890797e4f8241a0f47104bc3ad33b8..dd25c0d1b8e51537d56af73b2efcbc4611d5e95f 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 c3cc5a5faede15ff28c241ac7fca1715af958ba4..2037a924640f9c3e97147376950431bee795c948 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 ba12cb35a7f4dd1f6c3da0f58ce96c5a1b9f95bb..48f7ea92e1de5663f3668c6ab6e73bcc745ef687 100755 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -385,7 +385,6 @@ class LLVOAvatar : public: U32 renderImpostor(LLColor4U color = LLColor4U(255,255,255,255), S32 diffuse_channel = 0); bool isVisuallyMuted() const; - bool isInMuteList(); void forceUpdateVisualMuteSettings(); enum VisualMuteSettings