| Field |
Original Value |
New Value |
|
Description
|
With regard to my comment in the parent issue, I believe that a double click on a landmark should immediately and without extra dialog perform a teleportation.
The corresponding code piece for llfolderview.cpp would be quite simple:
void LLFolderViewItem::preview( void )
{
if (mListener)
{
if (mListener->getInventoryType() == LLInventoryType::IT_LANDMARK) {
gFocusMgr.setKeyboardFocus(NULL, NULL); // focus back to main window, user will want to move with arrow keys
mListener->performAction(NULL, &gInventory, "teleport");
}
else {
mListener->previewItem();
}
}
}
|
With regard to my intro in the parent issue (see VWR-1825), I believe that a double click on a landmark should immediately and without extra dialog perform a teleportation.
The corresponding code piece for llfolderview.cpp would be quite simple:
void LLFolderViewItem::preview( void )
{
if (mListener)
{
if (mListener->getInventoryType() == LLInventoryType::IT_LANDMARK) {
gFocusMgr.setKeyboardFocus(NULL, NULL); // focus back to main window, user will want to move with arrow keys
mListener->performAction(NULL, &gInventory, "teleport");
}
else {
mListener->previewItem();
}
}
}
|