summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-01-25 18:03:18 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-01-25 18:03:18 +0200
commit9d67a4910d65941151d8f59395624b901b5da306 (patch)
tree49036ddca41246d3c4275a0e5fd3780ad20decd9 /indra
parenta661367644cee230637e7ee974f49f6b81f4ff8e (diff)
MAINT-7072 Edit menu shows land impact of object you are sitting on instead of 0 when selecting your attachment
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index dd934ce6b8..e4641d8721 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -7101,7 +7101,7 @@ F32 LLObjectSelection::getSelectedLinksetCost()
LLSelectNode* node = *iter;
LLViewerObject* object = node->getObject();
- if (object)
+ if (object && !object->isAttachment())
{
LLViewerObject* root = static_cast<LLViewerObject*>(object->getRoot());
if (root)