Don't cancel autopilot when escaping out of customize appearance
This commit is contained in:
@@ -289,11 +289,6 @@ LLAgentCamera::~LLAgentCamera()
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void LLAgentCamera::resetView(BOOL reset_camera, BOOL change_camera)
|
void LLAgentCamera::resetView(BOOL reset_camera, BOOL change_camera)
|
||||||
{
|
{
|
||||||
if (gAgent.getAutoPilot())
|
|
||||||
{
|
|
||||||
gAgent.stopAutoPilot(TRUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
LLSelectMgr::getInstance()->unhighlightAll();
|
LLSelectMgr::getInstance()->unhighlightAll();
|
||||||
|
|
||||||
// By popular request, keep land selection while walking around. JC
|
// By popular request, keep land selection while walking around. JC
|
||||||
|
|||||||
@@ -4084,6 +4084,11 @@ void handle_reset_view()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (gAgent.getAutoPilot())
|
||||||
|
{
|
||||||
|
gAgent.stopAutoPilot(true);
|
||||||
|
}
|
||||||
|
|
||||||
reset_view_final( true );
|
reset_view_final( true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user