diff options
| author | Nyx Linden <nyx@lindenlab.com> | 2013-05-08 16:34:12 -0400 |
|---|---|---|
| committer | Nyx Linden <nyx@lindenlab.com> | 2013-05-08 16:34:12 -0400 |
| commit | 23c6016481ebc6de5433b9e9b9d07ebc4d5ae3cd (patch) | |
| tree | 79020b4d35980d22bda4d8df0c7d84eb23199f21 /indra/newview/lltoolmorph.cpp | |
| parent | e6bc0c5d695796c56bdc2a53f5db594e93e58aff (diff) | |
SH-4048 SH-4171 SH-4046 FIX avatar sinks into ground, updates sent to observers
Avatar preview code was triggering avatar size updates, which were causing the
avatar's height above the ground to change when the previews were rendered.
Also added code to suppress appearance updates being sent out while in
appearance editing mode.
Diffstat (limited to 'indra/newview/lltoolmorph.cpp')
| -rw-r--r-- | indra/newview/lltoolmorph.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lltoolmorph.cpp b/indra/newview/lltoolmorph.cpp index f39b98dd31..fa94b52362 100644 --- a/indra/newview/lltoolmorph.cpp +++ b/indra/newview/lltoolmorph.cpp @@ -159,7 +159,9 @@ void LLVisualParamHint::preRender(BOOL clear_depth) gAgentAvatarp->setVisualParamWeight("Blink_Left", 0.f); gAgentAvatarp->setVisualParamWeight("Blink_Right", 0.f); gAgentAvatarp->updateComposites(); - gAgentAvatarp->updateVisualParams(); + // Calling LLCharacter version, as we don't want position/height changes to cause the avatar to jump + // up and down when we're doing preview renders. -Nyx + gAgentAvatarp->LLCharacter::updateVisualParams(); gAgentAvatarp->updateGeometry(gAgentAvatarp->mDrawable); gAgentAvatarp->updateLOD(); |
