diff options
Diffstat (limited to 'linden/indra/newview/lltoolcomp.cpp')
-rw-r--r-- | linden/indra/newview/lltoolcomp.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/lltoolcomp.cpp b/linden/indra/newview/lltoolcomp.cpp index 7bf99f0..172f71d 100644 --- a/linden/indra/newview/lltoolcomp.cpp +++ b/linden/indra/newview/lltoolcomp.cpp | |||
@@ -471,18 +471,16 @@ LLToolCompCreate::~LLToolCompCreate() | |||
471 | 471 | ||
472 | BOOL LLToolCompCreate::handleMouseDown(S32 x, S32 y, MASK mask) | 472 | BOOL LLToolCompCreate::handleMouseDown(S32 x, S32 y, MASK mask) |
473 | { | 473 | { |
474 | BOOL handled = FALSE; | ||
475 | mMouseDown = TRUE; | 474 | mMouseDown = TRUE; |
476 | 475 | ||
477 | if ( (mask == MASK_SHIFT) || (mask == MASK_CONTROL) ) | 476 | if ( (mask == MASK_SHIFT) || (mask == MASK_CONTROL) ) |
478 | { | 477 | { |
479 | gViewerWindow->pickAsync(x, y, mask, pickCallback); | 478 | gViewerWindow->pickAsync(x, y, mask, pickCallback); |
480 | handled = TRUE; | ||
481 | } | 479 | } |
482 | else | 480 | else |
483 | { | 481 | { |
484 | setCurrentTool( mPlacer ); | 482 | setCurrentTool( mPlacer ); |
485 | handled = mPlacer->placeObject( x, y, mask ); | 483 | mPlacer->placeObject( x, y, mask ); |
486 | } | 484 | } |
487 | 485 | ||
488 | mObjectPlacedOnMouseDown = TRUE; | 486 | mObjectPlacedOnMouseDown = TRUE; |