diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-10-24 14:27:02 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-10-24 14:27:02 +0800 |
| commit | 15b3c7ba741c64d41e52fbff4074c19ee96ae39b (patch) | |
| tree | 0c56e55fac9bfc58dba5b07fc82bffbb0d4731f2 /indra/newview/llagent.cpp | |
| parent | 57552eb04bdbb6db875cf414ccac552934240d7c (diff) | |
| parent | cb5dd9181198cab5fadc71fa548201af0234128f (diff) | |
Merge tag 'Second_Life_Release#cb5dd918-26.5' into 26.526.5
Diffstat (limited to 'indra/newview/llagent.cpp')
| -rw-r--r-- | indra/newview/llagent.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 9a553fab4d..3301224832 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -2537,6 +2537,11 @@ void LLAgent::endAnimationUpdateUI() LLFloaterCamera::onAvatarEditingAppearance(true); } + // Sync before updating attachment visibility + // Don't let this be called more than once if the camera + // mode hasn't changed. --JC + gAgentCamera.updateLastCamera(); + if (isAgentAvatarValid()) { gAgentAvatarp->updateAttachmentVisibility(gAgentCamera.getCameraMode()); @@ -2546,10 +2551,6 @@ void LLAgent::endAnimationUpdateUI() { gFloaterTools->dirty(); } - - // Don't let this be called more than once if the camera - // mode hasn't changed. --JC - gAgentCamera.updateLastCamera(); } boost::signals2::connection LLAgent::setMouselookModeInCallback( const camera_signal_t::slot_type& cb ) |
