Removed some dead code. Refresh avatar textures upon entering customize. Disabled an old emerald hack that seems to contribute to baking issues-- will look into further if it indeed was a problem.
This commit is contained in:
@@ -2392,7 +2392,7 @@ void LLAgentCamera::changeCameraToCustomizeAvatar(BOOL avatar_animate, BOOL came
|
||||
gFocusMgr.setKeyboardFocus( NULL );
|
||||
gFocusMgr.setMouseCapture( NULL );
|
||||
|
||||
LLVOAvatar::onCustomizeStart();
|
||||
LLVOAvatarSelf::onCustomizeStart();
|
||||
|
||||
if (isAgentAvatarValid())
|
||||
{
|
||||
@@ -2418,10 +2418,11 @@ void LLAgentCamera::changeCameraToCustomizeAvatar(BOOL avatar_animate, BOOL came
|
||||
{
|
||||
setAnimationDuration(gSavedSettings.getF32("ZoomTime"));
|
||||
}
|
||||
//gAgentAvatarp->invalidateAll();
|
||||
//gAgentAvatarp->updateMeshTextures();
|
||||
}
|
||||
|
||||
gAgentAvatarp->invalidateAll();
|
||||
gAgentAvatarp->updateMeshTextures();
|
||||
|
||||
gAgentCamera.setFocusGlobal(LLVector3d::zero);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user