diff options
author | McCabe Maxsted | 2010-09-14 20:51:11 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-14 20:51:11 -0700 |
commit | c5974f5f8830dadc8746770dd50d7b00b5f3c5cc (patch) | |
tree | a282e4997654f931f15f3639a128133cb0027ce9 /linden/indra/newview | |
parent | Ugly hack for ugly (but needed) ui: make the 'none' group sort to the top of ... (diff) | |
parent | Prevent double-click teleport when double-clicking touch-scripted objects or ... (diff) | |
download | meta-impy-c5974f5f8830dadc8746770dd50d7b00b5f3c5cc.zip meta-impy-c5974f5f8830dadc8746770dd50d7b00b5f3c5cc.tar.gz meta-impy-c5974f5f8830dadc8746770dd50d7b00b5f3c5cc.tar.bz2 meta-impy-c5974f5f8830dadc8746770dd50d7b00b5f3c5cc.tar.xz |
Merge remote branch 'thickbrick/weekly' into weekly
Diffstat (limited to 'linden/indra/newview')
-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"); |