mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Extracted the Avatar appearance functions out of the IUserService interface and moved them into a IAvatarService
Although "out of the box", there is no actual functional change to behavior
This commit is contained in:
@@ -1661,7 +1661,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
m_log.Info("[APPEARANCE] Setting Appearance");
|
||||
m_appearance.SetAppearance(texture, visualParam);
|
||||
SetHeight(m_appearance.AvatarHeight);
|
||||
m_scene.CommsManager.UserService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance);
|
||||
m_scene.CommsManager.AvatarService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance);
|
||||
|
||||
SendAppearanceToAllOtherAgents();
|
||||
SendOwnAppearance();
|
||||
@@ -1671,7 +1671,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
m_log.Info("[APPEARANCE] Setting Wearable");
|
||||
m_appearance.SetWearable(wearableId, wearable);
|
||||
m_scene.CommsManager.UserService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance);
|
||||
m_scene.CommsManager.AvatarService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance);
|
||||
m_controllingClient.SendWearables(m_appearance.Wearables, m_appearance.Serial++);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user