Put in some changes along sg1.4 dev history.
This commit is contained in:
@@ -708,9 +708,16 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
gViewerWindow->getWindow()->setCursor(UI_CURSOR_HAND);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW);
|
||||
// We need to clear media hover flag
|
||||
if (LLViewerMediaFocus::getInstance()->getMouseOverFlag())
|
||||
{
|
||||
@@ -780,7 +787,7 @@ BOOL LLToolPie::handleDoubleClick(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
// Hit an object
|
||||
// Do not go to attachments...
|
||||
if (!mPick.getObject()->isHUDAttachment())
|
||||
if (mPick.getObject() && !mPick.getObject()->isHUDAttachment())
|
||||
{
|
||||
// HACK: Call the last hit position the point we hit on the object
|
||||
//gLastHitPosGlobal += gLastHitObjectOffset;
|
||||
|
||||
Reference in New Issue
Block a user