aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-14 02:56:37 -0700
committerMcCabe Maxsted2009-09-14 02:56:37 -0700
commitd24638496a96292807d06b2043e07cb9ae25389d (patch)
tree762e9d3dd9ab9ad6bb288bf087dea3e030e85fe5
parentSmall performance change from Emerald viewer in LLVLComposition (diff)
downloadmeta-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
Diffstat (limited to '')
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/newview/app_settings/settings.xml11
-rw-r--r--linden/indra/newview/lltoolpie.cpp2
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
132009-09-13 McCabe Maxsted <hakushakukun@gmail.com> 192009-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;