summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-09-12 18:08:45 -0700
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-09-12 18:08:45 -0700
commit4ddd7968757393657055f61bb51bef7c6e721ebf (patch)
treecfdd5e3d56effe356d6b4acc421fffa85f6f1b9b
parenta8aa7dbd8b64113573ee33ee7c267f17b26c3c39 (diff)
MAINT-1456,MAINT-1519,PATH-879: BUGFIX Correcting behavior for objects moved by scripts so that the drawable is properly updated with the updated location.
-rw-r--r--indra/newview/lldrawable.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 4eda2b92b3..2918d41c2a 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -624,7 +624,9 @@ BOOL LLDrawable::updateMove()
{
return FALSE;
}
-
+
+ makeActive();
+
BOOL done;
if (isState(MOVE_UNDAMPED))
@@ -633,7 +635,6 @@ BOOL LLDrawable::updateMove()
}
else
{
- makeActive();
done = updateMoveDamped();
}
return done;