diff options
author | callum <none@none> | 2010-11-15 17:21:27 -0800 |
---|---|---|
committer | callum <none@none> | 2010-11-15 17:21:27 -0800 |
commit | b4efcccce7438a72078c02dd404080d6dee37622 (patch) | |
tree | 6d4890e3ace464bba7c81d3235ab799538080b02 /indra/newview/llmaniptranslate.cpp | |
parent | a52e06d209925d1942230e8c129d8b19af7b88b5 (diff) | |
parent | e8e1d7e629b9a4a65cde766ed81334140a749428 (diff) |
Merge with tip of of viewer-development (http://hg.secondlife.com/viewer-development)
Diffstat (limited to 'indra/newview/llmaniptranslate.cpp')
-rw-r--r-- | indra/newview/llmaniptranslate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp index 5eb3b789f2..f871df0c36 100644 --- a/indra/newview/llmaniptranslate.cpp +++ b/indra/newview/llmaniptranslate.cpp @@ -726,7 +726,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) LLVector3d new_position_global = selectNode->mSavedPositionGlobal + clamped_relative_move; // Don't let object centers go too far underground - F64 min_height = LLWorld::getInstance()->getMinAllowedZ(object); + F64 min_height = LLWorld::getInstance()->getMinAllowedZ(object, object->getPositionGlobal()); if (new_position_global.mdV[VZ] < min_height) { new_position_global.mdV[VZ] = min_height; |