MAINT-2336 FIXED Avatar continues to move in edit mode
parent
b07bfba198
commit
120e052e32
|
|
@ -35,6 +35,7 @@
|
|||
#include "llfloaterreg.h"
|
||||
#include "llhudmanager.h"
|
||||
#include "lljoystickbutton.h"
|
||||
#include "llmorphview.h"
|
||||
#include "llmoveview.h"
|
||||
#include "llselectmgr.h"
|
||||
#include "llsmoothstep.h"
|
||||
|
|
@ -2269,7 +2270,10 @@ void LLAgentCamera::changeCameraToCustomizeAvatar()
|
|||
|
||||
gFocusMgr.setKeyboardFocus( NULL );
|
||||
gFocusMgr.setMouseCapture( NULL );
|
||||
|
||||
if( gMorphView )
|
||||
{
|
||||
gMorphView->setVisible( TRUE );
|
||||
}
|
||||
// Remove any pitch or rotation from the avatar
|
||||
LLVector3 at = gAgent.getAtAxis();
|
||||
at.mV[VZ] = 0.f;
|
||||
|
|
|
|||
Loading…
Reference in New Issue