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:
Shyotl
2012-03-22 00:56:10 -05:00
parent 6b5df7194a
commit 90f12f1bb9
5 changed files with 32 additions and 54 deletions

View File

@@ -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);
}
}