aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/app_settings/settings.xml11
-rw-r--r--linden/indra/newview/lltoolpie.cpp2
2 files changed, 12 insertions, 1 deletions
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;