summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-02-11 13:30:52 -0600
committerDave Parks <davep@lindenlab.com>2011-02-11 13:30:52 -0600
commitf546f06452f453cf062d166ddebefd98afbd118b (patch)
treedcbef8984b8be18950d8983ba1487e397d81cfd7 /indra
parent6b196c0ece6e515b64bf759198b90962e3c05d35 (diff)
parent479b5ac8ac54ea0442a237ce55f439e465316ad0 (diff)
merge
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llselectmgr.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 746ba274ed..93c9131424 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -5492,7 +5492,12 @@ void LLSelectNode::renderOneWireframe(const LLColor4& color)
BOOL is_hud_object = objectp->isHUDAttachment();
- if (!is_hud_object)
+ if (drawable->isActive())
+ {
+ glLoadMatrixd(gGLModelView);
+ glMultMatrixf((F32*) objectp->getRenderMatrix().mMatrix);
+ }
+ else if (!is_hud_object)
{
glLoadIdentity();
glMultMatrixd(gGLModelView);
@@ -5500,11 +5505,6 @@ void LLSelectNode::renderOneWireframe(const LLColor4& color)
glTranslatef(trans.mV[0], trans.mV[1], trans.mV[2]);
}
- if (drawable->isActive())
- {
- glMultMatrixf((F32*) objectp->getRenderMatrix().mMatrix);
- }
-
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
if (LLSelectMgr::sRenderHiddenSelections) // && gFloaterTools && gFloaterTools->getVisible())