diff options
author | Robin Cornelius | 2010-10-10 21:53:54 +0100 |
---|---|---|
committer | Robin Cornelius | 2010-10-10 21:53:54 +0100 |
commit | c0034c520c6e61b64822e276316651ec6912bd98 (patch) | |
tree | 910442027b6a2c1406d80ca93949755b54badf5c /linden/indra/newview/llviewermessage.cpp | |
parent | Use all those cores for compile (diff) | |
parent | Thickbrick Sleaford, Soft Linden: STORM-164 make gcc-4.4 happy about llvosky.h (diff) | |
download | meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.zip meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.tar.gz meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.tar.bz2 meta-impy-c0034c520c6e61b64822e276316651ec6912bd98.tar.xz |
Merge branch 'mccabe-plugins' into plugins_merge
Conflicts:
linden/doc/contributions.txt
linden/indra/cmake/GStreamer.cmake
linden/indra/cmake/LLMedia.cmake
linden/indra/cmake/OPENAL.cmake
linden/indra/llmedia/CMakeLists.txt
linden/indra/llprimitive/material_codes.h
linden/indra/newview/chatbar_as_cmdline.cpp
linden/indra/newview/llappviewer.cpp
linden/indra/newview/llfloatertos.cpp
linden/indra/newview/llstartup.cpp
linden/indra/newview/llviewerwindow.cpp
linden/indra/newview/llvoavatar.cpp
linden/indra/newview/pipeline.cpp
linden/indra/newview/pipeline.h
linden/indra/newview/viewer_manifest.py
linden/install.xml
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rwxr-xr-x | linden/indra/newview/llviewermessage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 52113ce..2754e2c 100755 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #include <deque> | 38 | #include <deque> |
39 | 39 | ||
40 | #include "audioengine.h" | 40 | #include "llaudioengine.h" |
41 | #include "indra_constants.h" | 41 | #include "indra_constants.h" |
42 | #include "lscript_byteformat.h" | 42 | #include "lscript_byteformat.h" |
43 | #include "mean_collision_data.h" | 43 | #include "mean_collision_data.h" |
@@ -973,7 +973,7 @@ void open_offer(const std::vector<LLUUID>& items, const std::string& from_name) | |||
973 | LL_DEBUGS("Messaging") << "Highlighting" << item->getUUID() << LL_ENDL; | 973 | LL_DEBUGS("Messaging") << "Highlighting" << item->getUUID() << LL_ENDL; |
974 | //highlight item | 974 | //highlight item |
975 | 975 | ||
976 | LLUICtrl* focus_ctrl = gFocusMgr.getKeyboardFocus(); | 976 | LLFocusableElement* focus_ctrl = gFocusMgr.getKeyboardFocus(); |
977 | view->getPanel()->setSelection(item->getUUID(), TAKE_FOCUS_NO); | 977 | view->getPanel()->setSelection(item->getUUID(), TAKE_FOCUS_NO); |
978 | gFocusMgr.setKeyboardFocus(focus_ctrl); | 978 | gFocusMgr.setKeyboardFocus(focus_ctrl); |
979 | } | 979 | } |
@@ -5208,11 +5208,11 @@ void mean_name_callback(const LLUUID &id, const std::string& first, const std::s | |||
5208 | return; | 5208 | return; |
5209 | } | 5209 | } |
5210 | 5210 | ||
5211 | static const int max_collision_list_size = 20; | 5211 | static const U32 max_collision_list_size = 20; |
5212 | if (gMeanCollisionList.size() > max_collision_list_size) | 5212 | if (gMeanCollisionList.size() > max_collision_list_size) |
5213 | { | 5213 | { |
5214 | mean_collision_list_t::iterator iter = gMeanCollisionList.begin(); | 5214 | mean_collision_list_t::iterator iter = gMeanCollisionList.begin(); |
5215 | for (S32 i=0; i<max_collision_list_size; i++) iter++; | 5215 | for (U32 i=0; i<max_collision_list_size; i++) iter++; |
5216 | for_each(iter, gMeanCollisionList.end(), DeletePointer()); | 5216 | for_each(iter, gMeanCollisionList.end(), DeletePointer()); |
5217 | gMeanCollisionList.erase(iter, gMeanCollisionList.end()); | 5217 | gMeanCollisionList.erase(iter, gMeanCollisionList.end()); |
5218 | } | 5218 | } |