summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-01-11 14:18:36 -0800
committerMerov Linden <merov@lindenlab.com>2013-01-11 14:18:36 -0800
commit9f8959d480d1069f554c576a4cc9a494559ef1e4 (patch)
tree7ae4f550c1039cdb15d0087a0511310dddf8b5a5 /indra/newview/lldrawable.cpp
parentd16757545c91d4f7dac3c52a311ad0f0239052e1 (diff)
parent573ab07a40acc78e28ae390331d862d3f858bb07 (diff)
Pull merge from viewer-chui
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rw-r--r--indra/newview/lldrawable.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 4894d63e13..1107c3ecd1 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -433,7 +433,7 @@ void LLDrawable::makeActive()
}
llassert(isAvatar() || isRoot() || mParent->isActive());
-}
+ }
void LLDrawable::makeStatic(BOOL warning_enabled)
@@ -447,7 +447,7 @@ void LLDrawable::makeStatic(BOOL warning_enabled)
//drawable became static with active parent, not acceptable
llassert(mParent.isNull() || !mParent->isActive() || !warning_enabled);
-
+
LLViewerObject::const_child_list_t& child_list = mVObjp->getChildren();
for (LLViewerObject::child_list_t::const_iterator iter = child_list.begin();
iter != child_list.end(); iter++)
@@ -624,9 +624,7 @@ BOOL LLDrawable::updateMove()
{
return FALSE;
}
-
- makeActive();
-
+
BOOL done;
if (isState(MOVE_UNDAMPED))
@@ -635,6 +633,7 @@ BOOL LLDrawable::updateMove()
}
else
{
+ makeActive();
done = updateMoveDamped();
}
return done;