diff options
author | Kelly Washington <kelly@lindenlab.com> | 2012-10-17 14:05:14 -0700 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2012-10-17 14:05:14 -0700 |
commit | 9d701e563b90a70794fccc28bdfb8edb5b0abfeb (patch) | |
tree | 116938916ccf71f80edac059d1a87e2a0bb883a1 /indra/newview/lldrawable.cpp | |
parent | 2e30d652104859453e066e15431b59ee6f8bf182 (diff) |
MAINT-1742 Child object does not update position while selected.
reviewed with Davep
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rw-r--r-- | indra/newview/lldrawable.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index cdf6460408..05ae336bc5 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; |