Skip to content
Snippets Groups Projects
Commit 2c02c89b authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-7683 Use viewer autopilot instead of simulator autopilot for "click-to-walk" action.

parent 04618144
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment