Skip to content
Snippets Groups Projects
Commit 1f930a72 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-18007 Edit shape freezes avatar in the middle of the turning animation

parent bc269314
No related branches found
No related tags found
No related merge requests found
...@@ -1308,7 +1308,8 @@ void LLPanelEditWearable::changeCamera(U8 subpart) ...@@ -1308,7 +1308,8 @@ void LLPanelEditWearable::changeCamera(U8 subpart)
gMorphView->setCameraOffset( subpart_entry->mCameraOffset ); gMorphView->setCameraOffset( subpart_entry->mCameraOffset );
if (gSavedSettings.getBOOL("AppearanceCameraMovement")) if (gSavedSettings.getBOOL("AppearanceCameraMovement"))
{ {
gAgentCamera.setFocusOnAvatar(FALSE, FALSE); // Unlock focus from avatar but don't stop animation to not interrupt ANIM_AGENT_CUSTOMIZE
gAgentCamera.setFocusOnAvatar(FALSE, gAgentCamera.getCameraAnimating());
gMorphView->updateCamera(); gMorphView->updateCamera();
} }
} }
......
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