summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2012-10-17 14:05:14 -0700
committerKelly Washington <kelly@lindenlab.com>2012-10-17 14:05:14 -0700
commit9d701e563b90a70794fccc28bdfb8edb5b0abfeb (patch)
tree116938916ccf71f80edac059d1a87e2a0bb883a1 /indra/newview/lldrawable.cpp
parent2e30d652104859453e066e15431b59ee6f8bf182 (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.cpp4
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;