diff options
| author | Dave Parks <davep@lindenlab.com> | 2013-06-21 12:51:29 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2013-06-21 12:51:29 -0500 |
| commit | 79029149a415a9f32e08d378653199a880d21e65 (patch) | |
| tree | 14b6f7d59c66602affd77b6e21f1981b28995fa8 /indra/newview/llmaniptranslate.cpp | |
| parent | 80552a465e9169b7326c346f4685790ea459823a (diff) | |
| parent | 8511385a5407181ced7bb226d4054185c597d05e (diff) | |
Automated merge with file:///F:%5Cviewer-bear
Diffstat (limited to 'indra/newview/llmaniptranslate.cpp')
| -rwxr-xr-x | indra/newview/llmaniptranslate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp index b62db70ec8..06bf294417 100755 --- a/indra/newview/llmaniptranslate.cpp +++ b/indra/newview/llmaniptranslate.cpp @@ -1681,7 +1681,8 @@ void LLManipTranslate::highlightIntersection(LLVector3 normal, gGL.getModelviewMatrix().inverse().mult_vec_matrix(plane); - gClipProgram.uniform4fv("clip_plane", 1, plane.v); + static LLStaticHashedString sClipPlane("clip_plane"); + gClipProgram.uniform4fv(sClipPlane, 1, plane.v); BOOL particles = gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_PARTICLES); BOOL clouds = gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_CLOUDS); |
