summaryrefslogtreecommitdiff
path: root/indra/newview/llmaniptranslate.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2012-12-07 17:50:37 -0500
committerLogan Dethrow <log@lindenlab.com>2012-12-07 17:50:37 -0500
commitb6a7c8fcfdaf9220accf832a4dc07efcd08c6eeb (patch)
tree621f992abc5e2d0ccc596a824ba70828c463ae87 /indra/newview/llmaniptranslate.cpp
parent954200e97f0283a2f16d19601129d64fb16449c2 (diff)
parenta15ec8d014307da35b792659964cd5478d1aafe7 (diff)
Merge in backed out changes.
Diffstat (limited to 'indra/newview/llmaniptranslate.cpp')
-rw-r--r--indra/newview/llmaniptranslate.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp
index 10608463b4..362308c176 100644
--- a/indra/newview/llmaniptranslate.cpp
+++ b/indra/newview/llmaniptranslate.cpp
@@ -1755,6 +1755,11 @@ void LLManipTranslate::highlightIntersection(LLVector3 normal,
shader->bind();
}
+ if (shader)
+ {
+ shader->bind();
+ }
+
//draw volume/plane intersections
{
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);