diff options
author | Jonathan Yap <none@none> | 2012-02-08 13:02:46 -0500 |
---|---|---|
committer | Jonathan Yap <none@none> | 2012-02-08 13:02:46 -0500 |
commit | bd1ea1b7643eaedae0853f3eb8380a2f19bd22a3 (patch) | |
tree | 5e6024c82480cb4c3541d617140e65f4335e4608 /indra/newview | |
parent | 289d756ea86bd3898f41592146d8f549cd056846 (diff) |
STORM-1810 Display Z coordinate in Script Error window
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterscriptdebug.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloaterscriptdebug.cpp b/indra/newview/llfloaterscriptdebug.cpp index a0d1a32e12..b691db1049 100644 --- a/indra/newview/llfloaterscriptdebug.cpp +++ b/indra/newview/llfloaterscriptdebug.cpp @@ -106,7 +106,11 @@ void LLFloaterScriptDebug::addScriptLine(const std::string &utf8mesg, const std: if (objectp) { objectp->setIcon(LLViewerTextureManager::getFetchedTextureFromFile("script_error.j2c", TRUE, LLViewerTexture::BOOST_UI)); - floater_label = llformat("%s(%.2f, %.2f)", user_name.c_str(), objectp->getPositionRegion().mV[VX], objectp->getPositionRegion().mV[VY]); + floater_label = llformat("%s(%.0f, %.0f, %.0f)", + user_name.c_str(), + objectp->getPositionRegion().mV[VX], + objectp->getPositionRegion().mV[VY], + objectp->getPositionRegion().mV[VZ]); } else { |