diff options
| author | angela <angela@lindenlab.com> | 2009-10-30 08:12:41 +0800 |
|---|---|---|
| committer | angela <angela@lindenlab.com> | 2009-10-30 08:12:41 +0800 |
| commit | 8c7f5e902625173aada5377c5972b72a684bedf0 (patch) | |
| tree | 188d9445f4e610b2a6e05b6af667ab47d38e65a2 /indra/newview/llmoveview.cpp | |
| parent | c3b2f98012a32c0f241b814a27113e756961778c (diff) | |
| parent | 5c4ec60c966bd1857fb195f73d2d09117b783f9a (diff) | |
branch merge
Diffstat (limited to 'indra/newview/llmoveview.cpp')
| -rw-r--r-- | indra/newview/llmoveview.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llmoveview.cpp b/indra/newview/llmoveview.cpp index 2b4e35208a..14da35594f 100644 --- a/indra/newview/llmoveview.cpp +++ b/indra/newview/llmoveview.cpp @@ -280,6 +280,14 @@ void LLFloaterMove::setMovementMode(const EMovementMode mode) mCurrentMode = mode; gAgent.setFlying(MM_FLY == mode); + // attempts to set avatar flying can not set it real flying in some cases. + // For ex. when avatar fell down & is standing up. + // So, no need to continue processing FLY mode. See EXT-1079 + if (MM_FLY == mode && !gAgent.getFlying()) + { + return; + } + switch (mode) { case MM_RUN: |
