diff options
author | Rick Pasetto <rick@lindenlab.com> | 2010-02-05 12:42:33 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2010-02-05 12:42:33 -0800 |
commit | a8b6083f47e59bdff00cb5204fc42ef214f3567a (patch) | |
tree | 642e1d53d4c77d0155315ba65daff746622e6dec /indra/newview/llappearancemgr.cpp | |
parent | b8a46c81eefc3da66fc1a1c3ed9bfbf4418b535d (diff) | |
parent | 41ab7853536dcbbf2b64d06b754617ee6bc7e896 (diff) |
merge
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 0fe236c056..326fc41c1e 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1353,6 +1353,11 @@ BOOL LLAppearanceManager::getIsInCOF(const LLUUID& obj_id) const BOOL LLAppearanceManager::getIsProtectedCOFItem(const LLUUID& obj_id) const { if (!getIsInCOF(obj_id)) return FALSE; + + // For now, don't allow direct deletion from the COF. Instead, force users + // to choose "Detach" or "Take Off". + return TRUE; + /* const LLInventoryObject *obj = gInventory.getObject(obj_id); if (!obj) return FALSE; @@ -1363,4 +1368,5 @@ BOOL LLAppearanceManager::getIsProtectedCOFItem(const LLUUID& obj_id) const if (obj->getActualType() == LLAssetType::AT_LINK_FOLDER) return TRUE; return FALSE; + */ } |