aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorOren Hurvitz2011-07-12 12:56:34 +0300
committerroot2011-07-21 20:18:36 +0100
commit56830bfe07234b0f4b48737a921cc6eae68d9a39 (patch)
treed75cc5eb2a9d8111ed7aa9375ab24ff042fe4edd /OpenSim/Region/CoreModules
parentFixed updating avatar appearance (diff)
downloadopensim-SC_OLD-56830bfe07234b0f4b48737a921cc6eae68d9a39.zip
opensim-SC_OLD-56830bfe07234b0f4b48737a921cc6eae68d9a39.tar.gz
opensim-SC_OLD-56830bfe07234b0f4b48737a921cc6eae68d9a39.tar.bz2
opensim-SC_OLD-56830bfe07234b0f4b48737a921cc6eae68d9a39.tar.xz
When handling SetAppearance packet, always save the appearance; not only if the texture was changed
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index 9037c80..995a552 100644
--- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -224,12 +224,12 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
224 // update transaction. In theory, we should be able to do an immediate 224 // update transaction. In theory, we should be able to do an immediate
225 // appearance send and save here. 225 // appearance send and save here.
226 226
227 // save only if there were changes, send no matter what (doesn't hurt to send twice)
228 if (changed)
229 QueueAppearanceSave(client.AgentId);
230
231 QueueAppearanceSend(client.AgentId);
232 } 227 }
228 // save only if there were changes, send no matter what (doesn't hurt to send twice)
229 if (changed)
230 QueueAppearanceSave(client.AgentId);
231
232 QueueAppearanceSend(client.AgentId);
233 } 233 }
234 234
235 // m_log.WarnFormat("[AVFACTORY]: complete SetAppearance for {0}:\n{1}",client.AgentId,sp.Appearance.ToString()); 235 // m_log.WarnFormat("[AVFACTORY]: complete SetAppearance for {0}:\n{1}",client.AgentId,sp.Appearance.ToString());