Update qtoolalign (Fixes issue 704)

- Removes shortcut ctrl-a for align tool
-- to avoid ctrl-a for select all text in UI controls messing up prim selection
- Adds llselectmgr select all function
-- to replace ctrl-a select all prims functionality that was a side effect of qtoolalign having this shortcut
- Adds toggle button (up/down arrow) to build floater for toggling display of the lower tab container area
-- This is to satisfy users who relied on ctrl-a to use align while the build floater was minimized and out of the way
- Syncs qtoolalign from Alchemy
This commit is contained in:
Lirusaito
2014-03-09 19:00:52 -04:00
parent 9d6092faaa
commit 30f5a3a162
10 changed files with 82 additions and 97 deletions

View File

@@ -6734,6 +6734,24 @@ void LLSelectMgr::doDelete()
selectDelete();
}
// <Singu> Note: Allow Ctrl-A for select all linked prims
//-----------------------------------------------------------------------------
// canSelectAll()
//-----------------------------------------------------------------------------
BOOL LLSelectMgr::canSelectAll() const
{
return !mSelectedObjects->isEmpty();
}
//-----------------------------------------------------------------------------
// selectAll()
//-----------------------------------------------------------------------------
void LLSelectMgr::selectAll()
{
promoteSelectionToRoot();
}
// </Singu>
//-----------------------------------------------------------------------------
// canDeselect()
//-----------------------------------------------------------------------------