From 8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 22 Feb 2009 20:52:55 +0000 Subject: Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that: * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors. --- OpenSim/Framework/AvatarAppearance.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Framework/AvatarAppearance.cs') diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index d8fcf74..a6cec76 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs @@ -291,17 +291,17 @@ namespace OpenSim.Framework + 0.07f * (float)m_visualparams[78] / 255.0f // Shoe platform height + 0.3836f * (float)m_visualparams[125] / 255.0f // Leg length - m_avatarHeight / 2) * 0.3f - 0.04f; - //System.Console.WriteLine(">>>>>>> [APPEARANCE]: Height {0} Hip offset {1}", m_avatarHeight, m_hipOffset); - //System.Console.WriteLine("------------- Set Appearance Texture ---------------"); + //m_log.Debug(">>>>>>> [APPEARANCE]: Height {0} Hip offset {1}", m_avatarHeight, m_hipOffset); + //m_log.Debug("------------- Set Appearance Texture ---------------"); //Primitive.TextureEntryFace[] faces = Texture.FaceTextures; //foreach (Primitive.TextureEntryFace face in faces) //{ // if (face != null) - // System.Console.WriteLine(" ++ " + face.TextureID); + // m_log.Debug(" ++ " + face.TextureID); // else - // System.Console.WriteLine(" ++ NULL "); + // m_log.Debug(" ++ NULL "); //} - //System.Console.WriteLine("----------------------------"); + //m_log.Debug("----------------------------"); } @@ -350,7 +350,7 @@ namespace OpenSim.Framework m_avatarHeight = (float)info.GetValue("m_avatarHeight", typeof(float)); - //System.Console.WriteLine("AvatarAppearance Deserialize END"); + //m_log.Debug("AvatarAppearance Deserialize END"); } // this is used for OGS1 -- cgit v1.1