Bug fix in object serialization -- sculpt data was wrong.

bulletsim
Diva Canto 2011-04-12 19:45:33 -07:00
parent 424995e138
commit 5c870fce54
1 changed files with 1 additions and 1 deletions

View File

@ -1318,7 +1318,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
writer.WriteStartElement("SculptData"); writer.WriteStartElement("SculptData");
byte[] sd; byte[] sd;
if (shp.SculptData != null) if (shp.SculptData != null)
sd = shp.ExtraParams; sd = shp.SculptData;
else else
sd = Utils.EmptyBytes; sd = Utils.EmptyBytes;
writer.WriteBase64(sd, 0, sd.Length); writer.WriteBase64(sd, 0, sd.Length);