diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-08-25 11:50:02 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-08-25 11:50:02 +0300 |
commit | 2c02c89b5805fc63b09e5a5215a771b43b59ce8e (patch) | |
tree | eb6b751cc555ca31a6b25710370ff45f7797887e /indra/newview/lltoolpie.cpp | |
parent | 04618144ffd5d456c9365c5153c4357ea74c6797 (diff) |
MAINT-7683 Use viewer autopilot instead of simulator autopilot for "click-to-walk" action.
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
-rw-r--r-- | indra/newview/lltoolpie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index b829741b3c..f7b063b398 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -485,7 +485,8 @@ void LLToolPie::walkToClickedLocation() mAutoPilotDestination->setColor(LLColor4U(170, 210, 190)); mAutoPilotDestination->setDuration(3.f); - handle_go_to(); + LLVector3d pos = LLToolPie::getInstance()->getPick().mPosGlobal; + gAgent.startAutoPilotGlobal(pos, std::string(), NULL, NULL, NULL, 0.f, 0.03f, FALSE); } // When we get object properties after left-clicking on an object |