Change signature of handle_go_to to be more versatile
This commit is contained in:
@@ -533,7 +533,7 @@ void LLToolPie::walkToClickedLocation()
|
||||
mAutoPilotDestination->setDuration(3.f);
|
||||
*/
|
||||
|
||||
handle_go_to();
|
||||
handle_go_to(mPick.mPosGlobal);
|
||||
}
|
||||
|
||||
// When we get object properties after left-clicking on an object
|
||||
@@ -763,8 +763,7 @@ BOOL LLToolPie::handleMouseUp(S32 x, S32 y, MASK mask)
|
||||
|
||||
void LLToolPie::stopClickToWalk()
|
||||
{
|
||||
mPick.mPosGlobal = gAgent.getPositionGlobal();
|
||||
handle_go_to();
|
||||
handle_go_to(gAgent.getPositionGlobal());
|
||||
/* Singu TODO: llhudeffectblob
|
||||
if(mAutoPilotDestination)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user