Cancel autopilot when user initiates a goto

This commit is contained in:
Liru Færs
2020-01-08 22:32:17 -05:00
parent 8b4a29cbd3
commit 327574db7c

View File

@@ -2860,6 +2860,8 @@ void simulator_autopilot(const LLVector3d& pos)
void handle_go_to(const LLVector3d& pos)
{
gAgent.stopAutoPilot(true); // Go To cancels viewer autopilot
// try simulator autopilot
simulator_autopilot(pos);