From 6323516a834b5f3dc8056b4107e216c341a42166 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 25 Mar 2009 20:15:46 +0000 Subject: * Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future. This functionality will be upstreamed later. ** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas ** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run ** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads ** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better. *** TODO: Set better VisualParams value then 150 to everything --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d6607b3..a6d1ad3 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -2389,6 +2389,11 @@ namespace OpenSim.Region.Framework.Scenes UpdateMovementAnimations(); m_startAnimationSet = true; } + + Quaternion rot = m_bodyRot; + m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId, + m_pos, m_appearance.Texture.ToBytes(), m_parentID, rot); + } public void SetWearable(int wearableId, AvatarWearable wearable) -- cgit v1.1