diff options
author | Dave Parks <davep@lindenlab.com> | 2010-08-26 17:06:34 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-08-26 17:06:34 -0500 |
commit | e41525cac444ecacb96f18178de21b844c4fbe45 (patch) | |
tree | 268c4646f1e8dbb6d7c36238cce0c7b556f7e96f /indra/llrender | |
parent | 71de5f622a7917f78823a7e7840194e1b0f8f070 (diff) |
Fix for crash when rendering translation handles.
Diffstat (limited to 'indra/llrender')
-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..40ab3a3476 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(0,0,0); } return mUIOffset.back(); } @@ -910,7 +910,7 @@ LLVector3 LLRender::getUIScale() { if (mUIScale.empty()) { - llerrs << "UI scale stack empty." << llendl; + return LLVector3(1,1,1); } return mUIScale.back(); } |