merge
commit
a17ed876c8
|
|
@ -597,11 +597,6 @@ bool LLGLManager::initGL()
|
|||
if (mGLVendor.substr(0,4) == "ATI ")
|
||||
{
|
||||
mGLVendorShort = "ATI";
|
||||
BOOL mobile = FALSE;
|
||||
if (mGLRenderer.find("MOBILITY") != std::string::npos)
|
||||
{
|
||||
mobile = TRUE;
|
||||
}
|
||||
mIsATI = TRUE;
|
||||
|
||||
#if LL_WINDOWS && !LL_MESA_HEADLESS
|
||||
|
|
@ -1489,9 +1484,7 @@ void assert_glerror()
|
|||
|
||||
void clear_glerror()
|
||||
{
|
||||
// Create or update texture to be used with this data
|
||||
GLenum error;
|
||||
error = glGetError();
|
||||
glGetError();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -1483,16 +1483,22 @@ BOOL LLTabContainer::setTab(S32 which)
|
|||
for(tuple_list_t::iterator iter = mTabList.begin(); iter != mTabList.end(); ++iter)
|
||||
{
|
||||
LLTabTuple* tuple = *iter;
|
||||
if (!tuple)
|
||||
continue;
|
||||
BOOL is_selected = ( tuple == selected_tuple );
|
||||
tuple->mButton->setUseEllipses(mUseTabEllipses);
|
||||
tuple->mButton->setHAlign(mFontHalign);
|
||||
tuple->mTabPanel->setVisible( is_selected );
|
||||
// tuple->mTabPanel->setFocus(is_selected); // not clear that we want to do this here.
|
||||
tuple->mButton->setToggleState( is_selected );
|
||||
// RN: this limits tab-stops to active button only, which would require arrow keys to switch tabs
|
||||
tuple->mButton->setTabStop( is_selected );
|
||||
|
||||
// Although the selected tab must be complete, we may have hollow LLTabTuple tucked in the list
|
||||
if (tuple->mButton)
|
||||
{
|
||||
tuple->mButton->setUseEllipses(mUseTabEllipses);
|
||||
tuple->mButton->setHAlign(mFontHalign);
|
||||
tuple->mButton->setToggleState( is_selected );
|
||||
// RN: this limits tab-stops to active button only, which would require arrow keys to switch tabs
|
||||
tuple->mButton->setTabStop( is_selected );
|
||||
}
|
||||
if (tuple->mTabPanel)
|
||||
{
|
||||
tuple->mTabPanel->setVisible( is_selected );
|
||||
//tuple->mTabPanel->setFocus(is_selected); // not clear that we want to do this here.
|
||||
}
|
||||
|
||||
if (is_selected)
|
||||
{
|
||||
|
|
@ -1563,8 +1569,7 @@ BOOL LLTabContainer::selectTabByName(const std::string& name)
|
|||
LLPanel* panel = getPanelByName(name);
|
||||
if (!panel)
|
||||
{
|
||||
llwarns << "LLTabContainer::selectTabByName("
|
||||
<< name << ") failed" << llendl;
|
||||
llwarns << "LLTabContainer::selectTabByName(" << name << ") failed" << llendl;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -359,7 +359,6 @@ void LLTextBase::drawSelectionBackground()
|
|||
|
||||
S32 selection_left = llmin( mSelectionStart, mSelectionEnd );
|
||||
S32 selection_right = llmax( mSelectionStart, mSelectionEnd );
|
||||
LLRect selection_rect = mVisibleTextRect;
|
||||
|
||||
// Skip through the lines we aren't drawing.
|
||||
LLRect content_display_rect = getVisibleDocumentRect();
|
||||
|
|
|
|||
|
|
@ -427,6 +427,8 @@ LLChicletPanel::~LLChicletPanel()
|
|||
|
||||
void LLChicletPanel::onMessageCountChanged(const LLSD& data)
|
||||
{
|
||||
// *TODO : we either suppress this method or return a value. Right now, it servers no purpose.
|
||||
/*
|
||||
LLUUID session_id = data["session_id"].asUUID();
|
||||
S32 unread = data["participant_unread"].asInteger();
|
||||
|
||||
|
|
@ -435,6 +437,7 @@ void LLChicletPanel::onMessageCountChanged(const LLSD& data)
|
|||
{
|
||||
unread = 0;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void LLChicletPanel::objectChicletCallback(const LLSD& data)
|
||||
|
|
|
|||
|
|
@ -1418,7 +1418,7 @@ BOOL LLFloaterIMContainer::selectConversationPair(const LLUUID& session_id, bool
|
|||
session_floater->setMinimized(is_minimized);
|
||||
}
|
||||
}
|
||||
|
||||
flashConversationItemWidget(session_id,false);
|
||||
return handled;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -420,6 +420,12 @@ BOOL LLFloaterIMNearbyChat::matchChatTypeTrigger(const std::string& in_str, std:
|
|||
|
||||
void LLFloaterIMNearbyChat::onChatBoxKeystroke()
|
||||
{
|
||||
LLFloaterIMContainer* im_box = LLFloaterIMContainer::findInstance();
|
||||
if (im_box)
|
||||
{
|
||||
im_box->flashConversationItemWidget(mSessionID,false);
|
||||
}
|
||||
|
||||
LLFirstUse::otherAvatarChatFirst(false);
|
||||
|
||||
LLWString raw_text = mInputEditor->getWText();
|
||||
|
|
|
|||
|
|
@ -892,6 +892,11 @@ void LLFloaterIMSession::onInputEditorFocusLost(LLFocusableElement* caller, void
|
|||
void LLFloaterIMSession::onInputEditorKeystroke(LLTextEditor* caller, void* userdata)
|
||||
{
|
||||
LLFloaterIMSession* self = (LLFloaterIMSession*)userdata;
|
||||
LLFloaterIMContainer* im_box = LLFloaterIMContainer::findInstance();
|
||||
if (im_box)
|
||||
{
|
||||
im_box->flashConversationItemWidget(self->mSessionID,false);
|
||||
}
|
||||
std::string text = self->mInputEditor->getText();
|
||||
|
||||
// Deleting all text counts as stopping typing.
|
||||
|
|
|
|||
|
|
@ -655,8 +655,7 @@ void LLIMModel::LLIMSession::loadHistory()
|
|||
|
||||
LLIMModel::LLIMSession* LLIMModel::findIMSession(const LLUUID& session_id) const
|
||||
{
|
||||
return get_if_there(mId2SessionMap, session_id,
|
||||
(LLIMModel::LLIMSession*) NULL);
|
||||
return get_if_there(mId2SessionMap, session_id, (LLIMModel::LLIMSession*) NULL);
|
||||
}
|
||||
|
||||
//*TODO consider switching to using std::set instead of std::list for holding LLUUIDs across the whole code
|
||||
|
|
@ -2823,7 +2822,7 @@ LLUUID LLIMMgr::addSession(
|
|||
}
|
||||
}
|
||||
|
||||
bool new_session = !LLIMModel::getInstance()->findIMSession(session_id);
|
||||
bool new_session = (LLIMModel::getInstance()->findIMSession(session_id) == NULL);
|
||||
|
||||
//works only for outgoing ad-hoc sessions
|
||||
if (new_session && IM_SESSION_CONFERENCE_START == dialog && ids.size())
|
||||
|
|
|
|||
|
|
@ -1038,7 +1038,6 @@ void render_hud_attachments()
|
|||
if (LLPipeline::sShowHUDAttachments && !gDisconnected && setup_hud_matrices())
|
||||
{
|
||||
LLCamera hud_cam = *LLViewerCamera::getInstance();
|
||||
LLVector3 origin = hud_cam.getOrigin();
|
||||
hud_cam.setOrigin(-1.f,0,0);
|
||||
hud_cam.setAxes(LLVector3(1,0,0), LLVector3(0,1,0), LLVector3(0,0,1));
|
||||
LLViewerCamera::updateFrustumPlanes(hud_cam, TRUE);
|
||||
|
|
|
|||
|
|
@ -2827,7 +2827,6 @@ void LLViewerWindow::updateUI()
|
|||
|
||||
BOOL handled = FALSE;
|
||||
|
||||
BOOL handled_by_top_ctrl = FALSE;
|
||||
LLUICtrl* top_ctrl = gFocusMgr.getTopCtrl();
|
||||
LLMouseHandler* mouse_captor = gFocusMgr.getMouseCapture();
|
||||
LLView* captor_view = dynamic_cast<LLView*>(mouse_captor);
|
||||
|
|
@ -3012,7 +3011,6 @@ void LLViewerWindow::updateUI()
|
|||
S32 local_x, local_y;
|
||||
top_ctrl->screenPointToLocal( x, y, &local_x, &local_y );
|
||||
handled = top_ctrl->pointInView(local_x, local_y) && top_ctrl->handleHover(local_x, local_y, mask);
|
||||
handled_by_top_ctrl = TRUE;
|
||||
}
|
||||
|
||||
if ( !handled )
|
||||
|
|
|
|||
|
|
@ -965,8 +965,6 @@ void LLWorldMapView::drawTracking(const LLVector3d& pos_global, const LLColor4&
|
|||
S32 text_x = x;
|
||||
S32 text_y = (S32)(y - sTrackCircleImage->getHeight()/2 - font->getLineHeight());
|
||||
|
||||
BOOL is_in_window = true;
|
||||
|
||||
if( x < 0
|
||||
|| y < 0
|
||||
|| x >= getRect().getWidth()
|
||||
|
|
@ -979,7 +977,6 @@ void LLWorldMapView::drawTracking(const LLVector3d& pos_global, const LLColor4&
|
|||
text_x = sTrackingArrowX;
|
||||
text_y = sTrackingArrowY;
|
||||
}
|
||||
is_in_window = false;
|
||||
}
|
||||
else if (LLTracker::getTrackingStatus() == LLTracker::TRACKING_LOCATION &&
|
||||
LLTracker::getTrackedLocationType() != LLTracker::LOCATION_NOTHING)
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 538 B |
Binary file not shown.
|
After Width: | Height: | Size: 545 B |
|
|
@ -73,7 +73,7 @@
|
|||
height="355"
|
||||
width="394">
|
||||
<layout_stack
|
||||
animate="true"
|
||||
animate="false"
|
||||
default_tab_group="2"
|
||||
follows="all"
|
||||
height="355"
|
||||
|
|
|
|||
Loading…
Reference in New Issue