summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelvolume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelvolume.cpp')
-rw-r--r--indra/newview/llpanelvolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelvolume.cpp b/indra/newview/llpanelvolume.cpp
index 7681514257..2ec63dbaa7 100644
--- a/indra/newview/llpanelvolume.cpp
+++ b/indra/newview/llpanelvolume.cpp
@@ -147,7 +147,7 @@ void LLPanelVolume::getState( )
// *FIX: shouldn't we just keep the child?
if (objectp)
{
- LLViewerObject* parentp = objectp->getSubParent();
+ LLViewerObject* parentp = objectp->getRootEdit();
if (parentp)
{