summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-20 15:04:11 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-20 15:04:11 +0100
commit4907e437c1a9523e3b3d098403da8c780c6345f9 (patch)
tree063ca27101f1317ec0ff850931d7b06a451d79bb /indra/newview/llviewerobject.cpp
parente0d6a6a40192caa5b9d62165da5f23a5ade6e4b0 (diff)
SL-731 - control avatar has pointer back to associated volume. Can use this link to find associated inventory item name for an animation in debug display.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index ff808ba079..f1c7cfae0d 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -4010,7 +4010,7 @@ void LLViewerObject::setPosition(const LLVector3 &pos, BOOL damped)
}
if (mControlAvatar)
{
- mControlAvatar->matchTransform(dynamic_cast<LLVOVolume*>(this));
+ mControlAvatar->matchVolumeTransform();
}
}