diff options
author | McCabe Maxsted | 2009-09-14 02:31:04 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-14 02:31:04 -0700 |
commit | 73826499a324e0231546078dbbd9b7839f311f83 (patch) | |
tree | 3b024cefdde6d278b2030063cc7ed9de3aa84356 /linden | |
parent | Added missing left/right arrow textures (diff) | |
download | meta-impy-73826499a324e0231546078dbbd9b7839f311f83.zip meta-impy-73826499a324e0231546078dbbd9b7839f311f83.tar.gz meta-impy-73826499a324e0231546078dbbd9b7839f311f83.tar.bz2 meta-impy-73826499a324e0231546078dbbd9b7839f311f83.tar.xz |
Small improvement to hide selection outlines in LLSelectMgr
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index 998cc50..f46f104 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -4552,6 +4552,11 @@ extern LLGLdouble gGLModelView[16]; | |||
4552 | 4552 | ||
4553 | void LLSelectMgr::updateSilhouettes() | 4553 | void LLSelectMgr::updateSilhouettes() |
4554 | { | 4554 | { |
4555 | if (!mRenderSilhouettes || !LLSelectMgr::sRenderSelectionHighlights) | ||
4556 | { | ||
4557 | return; | ||
4558 | } | ||
4559 | |||
4555 | S32 num_sils_genned = 0; | 4560 | S32 num_sils_genned = 0; |
4556 | 4561 | ||
4557 | LLVector3d cameraPos = gAgent.getCameraPositionGlobal(); | 4562 | LLVector3d cameraPos = gAgent.getCameraPositionGlobal(); |