When we start the appearance saving thread, make sure we set the culture to En_US so that a different culture doesn't save values with commas as decimal points, etc.
This will hopefully stop giants stalking the grid. See http://opensimulator.org/mantis/view.php?id=5614bulletsim
parent
5043be13fb
commit
84c68c61bd
|
@ -305,6 +305,11 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
|
|
||||||
private void HandleAppearanceSave(UUID agentid)
|
private void HandleAppearanceSave(UUID agentid)
|
||||||
{
|
{
|
||||||
|
// We must set appearance parameters in the en_US culture in order to avoid issues where values are saved
|
||||||
|
// in a culture where decimal points are commas and then reloaded in a culture which just treats them as
|
||||||
|
// number seperators.
|
||||||
|
Culture.SetCurrentCulture();
|
||||||
|
|
||||||
ScenePresence sp = m_scene.GetScenePresence(agentid);
|
ScenePresence sp = m_scene.GetScenePresence(agentid);
|
||||||
if (sp == null)
|
if (sp == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue