diff options
author | Sean Dague | 2008-05-16 00:04:46 +0000 |
---|---|---|
committer | Sean Dague | 2008-05-16 00:04:46 +0000 |
commit | fc773649720c062a72d1b8a098eb54bda9a84ca9 (patch) | |
tree | 111e4fcfb6bd112d744876d258e487556746ee02 /OpenSim/Region/Environment/Scenes | |
parent | * Adds various tweakable avatar control options to the OpenSim.ini.example. (diff) | |
download | opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.zip opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.tar.gz opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.tar.bz2 opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.tar.xz |
appearance now survives logout. Tommorrow will involve moving
the MSSQL and MYSQL mappers back in under datastores and looking at doing
gid bits for this
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index f8f96a0..28507cd 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -1509,8 +1509,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1509 | public void SetAppearance(byte[] texture, List<byte> visualParam) | 1509 | public void SetAppearance(byte[] texture, List<byte> visualParam) |
1510 | { | 1510 | { |
1511 | m_appearance.SetAppearance(texture, visualParam); | 1511 | m_appearance.SetAppearance(texture, visualParam); |
1512 | m_scene.CommsManager.UserService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); | ||
1513 | SetHeight(m_appearance.AvatarHeight); | 1512 | SetHeight(m_appearance.AvatarHeight); |
1513 | m_scene.CommsManager.UserService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); | ||
1514 | 1514 | ||
1515 | SendAppearanceToAllOtherAgents(); | 1515 | SendAppearanceToAllOtherAgents(); |
1516 | } | 1516 | } |
@@ -1518,6 +1518,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1518 | public void SetWearable(int wearableId, AvatarWearable wearable) | 1518 | public void SetWearable(int wearableId, AvatarWearable wearable) |
1519 | { | 1519 | { |
1520 | m_appearance.SetWearable(wearableId, wearable); | 1520 | m_appearance.SetWearable(wearableId, wearable); |
1521 | m_scene.CommsManager.UserService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); | ||
1521 | } | 1522 | } |
1522 | 1523 | ||
1523 | /// <summary> | 1524 | /// <summary> |