From 73cbdf2c6b8934ff87a5c95dede0d7dc892381f9 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 7 Aug 2014 22:00:23 +0100 Subject: [PATCH] bug --- .../CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 43e03c9270..797ec2bfc1 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs @@ -546,7 +546,8 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory if (gotbacked) { // m_log.Debug("[ValidateBakedCache] bakedModule cache override"); - + if(sp.Appearance.Texture.FaceTextures[idx] == null) + sp.Appearance.Texture.FaceTextures[idx] = sp.Appearance.Texture.CreateFace((uint)idx); sp.Appearance.Texture.FaceTextures[idx].TextureID = wearableCache[idx].TextureID; face = sp.Appearance.Texture.FaceTextures[idx];