From 11604ae5de67a6eb24f98081f0bf106e6a3a628e Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Fri, 15 Feb 2013 07:53:51 -0500 Subject: [PATCH] Compile fixes.. I thought I'd done this... --- indra/newview/llfloaterproperties.cpp | 2 +- indra/newview/llpanelpermissions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llfloaterproperties.cpp b/indra/newview/llfloaterproperties.cpp index 6eeaa5edf..4d313b3c9 100644 --- a/indra/newview/llfloaterproperties.cpp +++ b/indra/newview/llfloaterproperties.cpp @@ -537,7 +537,7 @@ void LLFloaterProperties::refreshFromItem(LLInventoryItem* item) childSetValue("CheckEveryoneCopy",LLSD((BOOL)(everyone_mask & PERM_COPY))); childSetValue("CheckEveryoneMove",LLSD((BOOL)(everyone_mask & PERM_MOVE))); - childSetValue("CheckExport", everyone_mask & PERM_EXPORT); + childSetValue("CheckExport", (bool)(everyone_mask & PERM_EXPORT)); /////////////// // SALE INFO // diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp index 8eab2b3d5..86c874b2a 100644 --- a/indra/newview/llpanelpermissions.cpp +++ b/indra/newview/llpanelpermissions.cpp @@ -1093,7 +1093,7 @@ void LLPanelPermissions::onCommitEveryoneCopy(LLUICtrl *ctrl, void *data) void LLPanelPermissions::onCommitExport() { - perm.setEveryoneBits(gAgent.getID(), gAgent.getGroupID(), childGetValue("checkbox allow export"), PERM_EXPORT); + LLSelectMgr::getInstance()->selectionSetObjectPermissions(PERM_EVERYONE, childGetValue("checkbox allow export"), PERM_EXPORT); } // static