summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-03-07 14:50:25 -0800
committerCosmic Linden <cosmic@lindenlab.com>2023-03-07 14:50:25 -0800
commitac224dc8b41fa23e30c87a53ca121a55d99cee14 (patch)
tree8c6c473f2b4f8b0a44c5001dbbee5e786db46e33 /indra
parentf2c49654d84113ab1be426cf5b9f6d03ffebaff3 (diff)
SL-19128: More conservative cleanup
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llselectmgr.cpp20
1 files changed, 5 insertions, 15 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 30a7f34ea8..22c1176b05 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -1847,21 +1847,11 @@ void LLSelectMgr::selectionSetImage(const LLUUID& imageid)
}
if (mItem)
{
- if (te == -1) // all faces
- {
- LLToolDragAndDrop::dropTextureAllFaces(objectp,
- mItem,
- LLToolDragAndDrop::SOURCE_AGENT,
- LLUUID::null);
- }
- else // one face
- {
- LLToolDragAndDrop::dropTextureOneFace(objectp,
- te,
- mItem,
- LLToolDragAndDrop::SOURCE_AGENT,
- LLUUID::null);
- }
+ LLToolDragAndDrop::dropTextureOneFace(objectp,
+ te,
+ mItem,
+ LLToolDragAndDrop::SOURCE_AGENT,
+ LLUUID::null);
}
else // not an inventory item
{