diff options
author | Armin Weatherwax | 2010-09-07 13:41:02 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:42:40 +0200 |
commit | 087e15e89930d51c3964329befb273ae3b2d330d (patch) | |
tree | 684c49a772b0097ed88a25660e1fd3dd10b264cc /linden/indra/newview/llselectmgr.cpp | |
parent | Robin Cornelius: fixes for building plugins on Linux 64bit (diff) | |
download | meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.zip meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.tar.gz meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.tar.bz2 meta-impy-087e15e89930d51c3964329befb273ae3b2d330d.tar.xz |
port of LL renderpipeline/Kirstens S19 pipeline for bridging to Viewer 2 texture system
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index b2904b9..0fa8285 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -764,7 +764,7 @@ void LLSelectMgr::addAsIndividual(LLViewerObject *objectp, S32 face, BOOL undoab | |||
764 | } | 764 | } |
765 | else | 765 | else |
766 | { | 766 | { |
767 | llerrs << "LLSelectMgr::add face " << face << " out-of-range" << llendl; | 767 | llwarns << "LLSelectMgr::add face " << face << " out-of-range" << llendl; |
768 | return; | 768 | return; |
769 | } | 769 | } |
770 | 770 | ||
@@ -1187,7 +1187,7 @@ void LLSelectMgr::remove(LLViewerObject *objectp, S32 te, BOOL undoable) | |||
1187 | } | 1187 | } |
1188 | else | 1188 | else |
1189 | { | 1189 | { |
1190 | llerrs << "LLSelectMgr::remove - tried to remove TE " << te << " that wasn't selected" << llendl; | 1190 | llwarns << "LLSelectMgr::remove - tried to remove TE " << te << " that wasn't selected" << llendl; |
1191 | return; | 1191 | return; |
1192 | } | 1192 | } |
1193 | 1193 | ||
@@ -1210,7 +1210,7 @@ void LLSelectMgr::remove(LLViewerObject *objectp, S32 te, BOOL undoable) | |||
1210 | else | 1210 | else |
1211 | { | 1211 | { |
1212 | // ...out of range face | 1212 | // ...out of range face |
1213 | llerrs << "LLSelectMgr::remove - TE " << te << " out of range" << llendl; | 1213 | llwarns << "LLSelectMgr::remove - TE " << te << " out of range" << llendl; |
1214 | } | 1214 | } |
1215 | 1215 | ||
1216 | updateSelectionCenter(); | 1216 | updateSelectionCenter(); |
@@ -1709,7 +1709,7 @@ void LLSelectMgr::selectionSetFullbright(U8 fullbright) | |||
1709 | } sendfunc(fullbright); | 1709 | } sendfunc(fullbright); |
1710 | getSelection()->applyToObjects(&sendfunc); | 1710 | getSelection()->applyToObjects(&sendfunc); |
1711 | } | 1711 | } |
1712 | 1712 | /* | |
1713 | void LLSelectMgr::selectionSetMediaTypeAndURL(U8 media_type, const std::string& media_url) | 1713 | void LLSelectMgr::selectionSetMediaTypeAndURL(U8 media_type, const std::string& media_url) |
1714 | { | 1714 | { |
1715 | U8 media_flags = LLTextureEntry::MF_NONE; | 1715 | U8 media_flags = LLTextureEntry::MF_NONE; |
@@ -1752,7 +1752,7 @@ void LLSelectMgr::selectionSetMediaTypeAndURL(U8 media_type, const std::string& | |||
1752 | } sendfunc(media_type, media_url); | 1752 | } sendfunc(media_type, media_url); |
1753 | getSelection()->applyToObjects(&sendfunc); | 1753 | getSelection()->applyToObjects(&sendfunc); |
1754 | } | 1754 | } |
1755 | 1755 | */ | |
1756 | void LLSelectMgr::selectionSetGlow(F32 glow) | 1756 | void LLSelectMgr::selectionSetGlow(F32 glow) |
1757 | { | 1757 | { |
1758 | struct f1 : public LLSelectedTEFunctor | 1758 | struct f1 : public LLSelectedTEFunctor |
@@ -3344,7 +3344,7 @@ void LLSelectMgr::packPermissionsHead(void* user_data) | |||
3344 | /* | 3344 | /* |
3345 | void LLSelectMgr::sendSelect() | 3345 | void LLSelectMgr::sendSelect() |
3346 | { | 3346 | { |
3347 | llerrs << "Not implemented" << llendl; | 3347 | llwarns << "Not implemented" << llendl; |
3348 | } | 3348 | } |
3349 | */ | 3349 | */ |
3350 | 3350 | ||
@@ -4156,7 +4156,7 @@ void LLSelectMgr::sendListToRegions(const std::string& message_name, | |||
4156 | break; | 4156 | break; |
4157 | 4157 | ||
4158 | default: | 4158 | default: |
4159 | llerrs << "Bad send type " << send_type << " passed to SendListToRegions()" << llendl; | 4159 | llwarns << "Bad send type " << send_type << " passed to SendListToRegions()" << llendl; |
4160 | } | 4160 | } |
4161 | 4161 | ||
4162 | // bail if nothing selected | 4162 | // bail if nothing selected |
@@ -4563,11 +4563,6 @@ extern LLGLdouble gGLModelView[16]; | |||
4563 | 4563 | ||
4564 | void LLSelectMgr::updateSilhouettes() | 4564 | void LLSelectMgr::updateSilhouettes() |
4565 | { | 4565 | { |
4566 | if (!mRenderSilhouettes || !LLSelectMgr::sRenderSelectionHighlights) | ||
4567 | { | ||
4568 | return; | ||
4569 | } | ||
4570 | |||
4571 | S32 num_sils_genned = 0; | 4566 | S32 num_sils_genned = 0; |
4572 | 4567 | ||
4573 | LLVector3d cameraPos = gAgent.getCameraPositionGlobal(); | 4568 | LLVector3d cameraPos = gAgent.getCameraPositionGlobal(); |
@@ -5781,8 +5776,7 @@ BOOL LLSelectMgr::canSelectObject(LLViewerObject* object) | |||
5781 | } | 5776 | } |
5782 | 5777 | ||
5783 | if ((gSavedSettings.getBOOL("SelectOwnedOnly") && !object->permYouOwner()) || | 5778 | if ((gSavedSettings.getBOOL("SelectOwnedOnly") && !object->permYouOwner()) || |
5784 | (gSavedSettings.getBOOL("SelectMovableOnly") && !object->permMove()) || | 5779 | (gSavedSettings.getBOOL("SelectMovableOnly") && !object->permMove())) |
5785 | (gSavedSettings.getBOOL("SelectCopyableOnly") && !object->permCopy())) | ||
5786 | { | 5780 | { |
5787 | // only select my own objects | 5781 | // only select my own objects |
5788 | return FALSE; | 5782 | return FALSE; |