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 | |
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
-rw-r--r-- | ChangeLog.txt | 7 | ||||
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 97168eb..6185340 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,10 @@ | |||
1 | 2009-09-14 McCabe Maxsted <hakushakukun@gmail.com> | ||
2 | |||
3 | * Small improvement to hide selection outlines in LLSelectMgr. | ||
4 | |||
5 | modified: linden/indra/newview/llselectmgr.cpp | ||
6 | |||
7 | |||
1 | 2009-09-13 McCabe Maxsted <hakushakukun@gmail.com> | 8 | 2009-09-13 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 9 | ||
3 | * Added prev/next buttons for windlight presets, cleaned up some stuff. | 10 | * Added prev/next buttons for windlight presets, cleaned up some stuff. |
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(); |