diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index 2887515..2b63a24 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -727,6 +727,19 @@ BOOL LLToolPie::handleDoubleClick(S32 x, S32 y, MASK mask) | |||
727 | LL_DEBUGS("DoubleClicks") << "Double clicked other Avatar" << LL_ENDL; | 727 | LL_DEBUGS("DoubleClicks") << "Double clicked other Avatar" << LL_ENDL; |
728 | return FALSE;// or what about open profile or IM session or ... | 728 | return FALSE;// or what about open profile or IM session or ... |
729 | } | 729 | } |
730 | |||
731 | if (final_click_action(object)) | ||
732 | { | ||
733 | LL_DEBUGS("DoubleClicks") << "Double clicked an object with a click action" << LL_ENDL; | ||
734 | return FALSE; | ||
735 | } | ||
736 | |||
737 | LLViewerObject* parent = object->getRootEdit(); | ||
738 | if (object->flagHandleTouch() || (parent && parent->flagHandleTouch())) | ||
739 | { | ||
740 | LL_DEBUGS("DoubleClicks") << "Double clicked a touch-scripted object" << LL_ENDL; | ||
741 | return FALSE; | ||
742 | } | ||
730 | } | 743 | } |
731 | 744 | ||
732 | std::string action = gSavedSettings.getString("DoubleClickAction"); | 745 | std::string action = gSavedSettings.getString("DoubleClickAction"); |