diff options
Diffstat (limited to 'indra/newview/llhudtext.cpp')
-rw-r--r-- | indra/newview/llhudtext.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/llhudtext.cpp b/indra/newview/llhudtext.cpp index da9441e108..80e62aff8f 100644 --- a/indra/newview/llhudtext.cpp +++ b/indra/newview/llhudtext.cpp @@ -961,6 +961,21 @@ void LLHUDText::renderAllHUD() } } +void LLHUDText::shiftAll(const LLVector3& offset) +{ + TextObjectIterator text_it; + for (text_it = sTextObjects.begin(); text_it != sTextObjects.end(); ++text_it) + { + LLHUDText *textp = text_it->get(); + textp->shift(offset); + } +} + +void LLHUDText::shift(const LLVector3& offset) +{ + mPositionAgent += offset; +} + //static void LLHUDText::addPickable(std::set<LLViewerObject*> &pick_list) { |