diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-12-08 11:23:47 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2015-12-08 11:23:47 +0200 |
commit | b78fe654d59c28315645a2e7189cb75e7b1431ac (patch) | |
tree | 78fa7cf6657c580ec5af25a94f99c99398ff426c /indra/newview | |
parent | dac539cd3ef465ffe7745f52ff2b4edb325b369e (diff) |
MAINT-5925 FIXED Viewer allows you to locally retexture anyones content including attachments.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llselectmgr.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 7620046ee3..4f63df1ea2 100755 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -1628,7 +1628,11 @@ void LLSelectMgr::selectionSetImage(const LLUUID& imageid) f(LLViewerInventoryItem* item, const LLUUID& id) : mItem(item), mImageID(id) {} bool apply(LLViewerObject* objectp, S32 te) { - if (mItem) + if(objectp && !objectp->permModify()) + { + return false; + } + if (mItem) { if (te == -1) // all faces { |