diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 995a552..20dff0c 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -305,6 +305,11 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
305 | 305 | ||
306 | private void HandleAppearanceSave(UUID agentid) | 306 | private void HandleAppearanceSave(UUID agentid) |
307 | { | 307 | { |
308 | // We must set appearance parameters in the en_US culture in order to avoid issues where values are saved | ||
309 | // in a culture where decimal points are commas and then reloaded in a culture which just treats them as | ||
310 | // number seperators. | ||
311 | Culture.SetCurrentCulture(); | ||
312 | |||
308 | ScenePresence sp = m_scene.GetScenePresence(agentid); | 313 | ScenePresence sp = m_scene.GetScenePresence(agentid); |
309 | if (sp == null) | 314 | if (sp == null) |
310 | { | 315 | { |