diff options
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
-rw-r--r-- | indra/newview/lltoolpie.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 959535d224..e41b84af55 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -640,11 +640,11 @@ BOOL LLToolPie::handleMouseUp(S32 x, S32 y, MASK mask) { // handle special cases of steering picks LLViewerObject* avatar_object = mPick.getObject(); -
- // get pointer to avatar
- while (avatar_object && !avatar_object->isAvatar())
- {
- avatar_object = (LLViewerObject*)avatar_object->getParent();
+ + // get pointer to avatar + while (avatar_object && !avatar_object->isAvatar()) + { + avatar_object = (LLViewerObject*)avatar_object->getParent(); } if (avatar_object && ((LLVOAvatar*)avatar_object)->isSelf()) @@ -1732,12 +1732,12 @@ void LLToolPie::startCameraSteering() // handle special cases of steering picks LLViewerObject* avatar_object = mSteerPick.getObject(); -
- // get pointer to avatar
- while (avatar_object && !avatar_object->isAvatar())
- {
- avatar_object = (LLViewerObject*)avatar_object->getParent();
- }
+ + // get pointer to avatar + while (avatar_object && !avatar_object->isAvatar()) + { + avatar_object = (LLViewerObject*)avatar_object->getParent(); + } // if clicking on own avatar... if (avatar_object && ((LLVOAvatar*)avatar_object)->isSelf()) |