summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-11-08 14:23:34 -0600
committerDave Parks <davep@lindenlab.com>2012-11-08 14:23:34 -0600
commitccad8c9411977287f1c42b288bf796308de81094 (patch)
treed114771df8469e4c9df6a9ecdd22edcbba7f24a0 /indra/newview/lldrawable.cpp
parentc431ddf629b7f1149c44b2063d216dd34bcd2b12 (diff)
parent2126cdb9a25da4dcc4c81659038b85bcff17c4ee (diff)
Automated merge with http://bitbucket.org/lindenlab/viewer-lion
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rw-r--r--indra/newview/lldrawable.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 7cfb58e544..3cfcd88f04 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -547,6 +547,10 @@ F32 LLDrawable::updateXform(BOOL undamped)
}
}
}
+ else if (!damped && isVisible())
+ {
+ dist_squared = dist_vec_squared(old_pos, target_pos);
+ }
LLVector3 vec = mCurrentScale-target_scale;