diff options
author | McCabe Maxsted | 2009-09-14 02:56:37 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-14 02:56:37 -0700 |
commit | d24638496a96292807d06b2043e07cb9ae25389d (patch) | |
tree | 762e9d3dd9ab9ad6bb288bf087dea3e030e85fe5 | |
parent | Small performance change from Emerald viewer in LLVLComposition (diff) | |
download | meta-impy-d24638496a96292807d06b2043e07cb9ae25389d.zip meta-impy-d24638496a96292807d06b2043e07cb9ae25389d.tar.gz meta-impy-d24638496a96292807d06b2043e07cb9ae25389d.tar.bz2 meta-impy-d24638496a96292807d06b2043e07cb9ae25389d.tar.xz |
Applied BlockClickSit debug setting from Emerald to block sit click action
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/newview/app_settings/settings.xml | 11 | ||||
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 2 |
3 files changed, 18 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index f16be88..4d26242 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -9,6 +9,12 @@ | |||
9 | 9 | ||
10 | modified: linden/indra/newview/llvlcomposition.cpp | 10 | modified: linden/indra/newview/llvlcomposition.cpp |
11 | 11 | ||
12 | |||
13 | * Applied BlockClickSit debug setting from Emerald to block sit click action. | ||
14 | |||
15 | modified: linden/indra/newview/app_settings/settings.xml | ||
16 | modified: linden/indra/newview/lltoolpie.cpp | ||
17 | |||
12 | 18 | ||
13 | 2009-09-13 McCabe Maxsted <hakushakukun@gmail.com> | 19 | 2009-09-13 McCabe Maxsted <hakushakukun@gmail.com> |
14 | 20 | ||
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index 23602be..149eefa 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml | |||
@@ -664,6 +664,17 @@ | |||
664 | <key>Value</key> | 664 | <key>Value</key> |
665 | <integer>0</integer> | 665 | <integer>0</integer> |
666 | </map> | 666 | </map> |
667 | <key>BlockClickSit</key> | ||
668 | <map> | ||
669 | <key>Comment</key> | ||
670 | <string>Block click sit</string> | ||
671 | <key>Persist</key> | ||
672 | <integer>1</integer> | ||
673 | <key>Type</key> | ||
674 | <string>Boolean</string> | ||
675 | <key>Value</key> | ||
676 | <integer>0</integer> | ||
677 | </map> | ||
667 | <key>BrowserHome</key> | 678 | <key>BrowserHome</key> |
668 | <map> | 679 | <map> |
669 | <key>Comment</key> | 680 | <key>Comment</key> |
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index 921931b..b660b8d 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -182,7 +182,7 @@ BOOL LLToolPie::pickAndShowMenu(BOOL always_show) | |||
182 | // nothing | 182 | // nothing |
183 | break; | 183 | break; |
184 | case CLICK_ACTION_SIT: | 184 | case CLICK_ACTION_SIT: |
185 | if ((gAgent.getAvatarObject() != NULL) && (!gAgent.getAvatarObject()->mIsSitting)) // agent not already sitting | 185 | if ((gAgent.getAvatarObject() != NULL) && (!gAgent.getAvatarObject()->mIsSitting) && !gSavedSettings.getBOOL("BlockClickSit")) // agent not already sitting |
186 | { | 186 | { |
187 | handle_sit_or_stand(); | 187 | handle_sit_or_stand(); |
188 | return TRUE; | 188 | return TRUE; |