aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-11-12 21:29:28 -0700
committerMcCabe Maxsted2010-11-12 21:29:28 -0700
commit7cb97df1cd8f61b25d033468c18951847076452d (patch)
tree8d3d72b530cf6b3dbd07c0487777fc08787b694d /linden/indra
parentFixed View > Web Browser sometimes loading the external browser and made it a... (diff)
downloadmeta-impy-7cb97df1cd8f61b25d033468c18951847076452d.zip
meta-impy-7cb97df1cd8f61b25d033468c18951847076452d.tar.gz
meta-impy-7cb97df1cd8f61b25d033468c18951847076452d.tar.bz2
meta-impy-7cb97df1cd8f61b25d033468c18951847076452d.tar.xz
Applied patch by Ansariel Hiller for #689: Optionally disable internal hover (fly) up animation
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/app_settings/settings.xml11
-rw-r--r--linden/indra/newview/llvoavatar.cpp9
2 files changed, 20 insertions, 0 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index 33299ba..ff90c86 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -364,6 +364,17 @@
364 <key>Value</key> 364 <key>Value</key>
365 <integer>3</integer> 365 <integer>3</integer>
366 </map> 366 </map>
367 <key>DisableInternalFlyUpAnimation</key>
368 <map>
369 <key>Comment</key>
370 <string>Disables the internal hover up animation. Enable if you use an AO and wear hand attachments like rings, prim nails etc. that often loose their correct position while flying.</string>
371 <key>Persist</key>
372 <integer>1</integer>
373 <key>Type</key>
374 <string>Boolean</string>
375 <key>Value</key>
376 <integer>0</integer>
377 </map>
367 <key>DisableLoginLogoutScreens</key> 378 <key>DisableLoginLogoutScreens</key>
368 <map> 379 <map>
369 <key>Comment</key> 380 <key>Comment</key>
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 54aed54..6904bb2 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -5490,6 +5490,15 @@ void LLVOAvatar::resetAnimations()
5490//----------------------------------------------------------------------------- 5490//-----------------------------------------------------------------------------
5491BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset) 5491BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset)
5492{ 5492{
5493 // [Ansariel Hiller]: Disable pesky hover up animation that changes
5494 // hand and finger position and often breaks correct
5495 // fit of prim nails, rings etc. when flying and
5496 // using an AO.
5497 if ("62c5de58-cb33-5743-3d07-9e4cd4352864" == id.getString() && gSavedSettings.getBOOL("DisableInternalFlyUpAnimation"))
5498 {
5499 return TRUE;
5500 }
5501
5493 LLMemType mt(LLMemType::MTYPE_AVATAR); 5502 LLMemType mt(LLMemType::MTYPE_AVATAR);
5494 5503
5495 // start special case female walk for female avatars 5504 // start special case female walk for female avatars