diff options
author | Richard Nelson <none@none> | 2010-08-06 11:03:28 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-08-06 11:03:28 -0700 |
commit | 5866710be7b64999ec82c5cd5e2d47d81fdeb918 (patch) | |
tree | 7cff944dbb780ca229a5504e485492ef75d1bb15 | |
parent | 9609b2c81c1efc43c152e379ca56191c7295973a (diff) |
fixed crash on entering build mode
-rw-r--r-- | indra/llrender/llrender.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 64238b2008..eb2c54198d 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -901,7 +901,7 @@ LLVector3 LLRender::getUITranslation() { if (mUIOffset.empty()) { - llerrs << "UI offset stack empty." << llendl; + return LLVector3::zero; } return mUIOffset.back(); } @@ -910,7 +910,7 @@ LLVector3 LLRender::getUIScale() { if (mUIScale.empty()) { - llerrs << "UI scale stack empty." << llendl; + return LLVector3(1.f, 1.f, 1.f); } return mUIScale.back(); } |