Re-enable regression TestSaveBakedTextures()

0.8.0.3
Justin Clark-Casey (justincc) 2014-02-24 19:30:33 +00:00
parent fd1b2a1c57
commit bc9952f901
1 changed files with 2 additions and 4 deletions

View File

@ -102,8 +102,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
Primitive.TextureEntryFace eyesFace = bakedTextureEntry.CreateFace(eyesFaceIndex); Primitive.TextureEntryFace eyesFace = bakedTextureEntry.CreateFace(eyesFaceIndex);
eyesFace.TextureID = eyesTextureId; eyesFace.TextureID = eyesTextureId;
/* afm.SetAppearance(sp, bakedTextureEntry, visualParams, null);
afm.SetAppearance(sp, bakedTextureEntry, visualParams);
afm.SaveBakedTextures(userId); afm.SaveBakedTextures(userId);
// Dictionary<BakeType, Primitive.TextureEntryFace> bakedTextures = afm.GetBakedTextureFaces(userId); // Dictionary<BakeType, Primitive.TextureEntryFace> bakedTextures = afm.GetBakedTextureFaces(userId);
@ -114,7 +113,6 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
Assert.That(eyesBake, Is.Not.Null); Assert.That(eyesBake, Is.Not.Null);
Assert.That(eyesBake.Temporary, Is.False); Assert.That(eyesBake.Temporary, Is.False);
Assert.That(eyesBake.Local, Is.False); Assert.That(eyesBake.Local, Is.False);
*/
} }
/// <summary> /// <summary>
@ -128,7 +126,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
public void TestSetAppearanceAlphaBakedTextures() public void TestSetAppearanceAlphaBakedTextures()
{ {
TestHelpers.InMethod(); TestHelpers.InMethod();
TestHelpers.EnableLogging(); // TestHelpers.EnableLogging();
UUID userId = TestHelpers.ParseTail(0x1); UUID userId = TestHelpers.ParseTail(0x1);
UUID alphaTextureID = new UUID("3a367d1c-bef1-6d43-7595-e88c1e3aadb3"); UUID alphaTextureID = new UUID("3a367d1c-bef1-6d43-7595-e88c1e3aadb3");