Update svn properties. Minor formatting cleanup. Fix a compiler warning. Fix a UUID vs null comparison.
parent
e78cdd9690
commit
0b4415849a
|
@ -749,7 +749,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
|
||||||
rdata.writer.WriteStartElement("Appearance");
|
rdata.writer.WriteStartElement("Appearance");
|
||||||
|
|
||||||
rdata.writer.WriteAttributeString("Height", rdata.userAppearance.AvatarHeight.ToString());
|
rdata.writer.WriteAttributeString("Height", rdata.userAppearance.AvatarHeight.ToString());
|
||||||
if (!rdata.userAppearance.Owner.Equals(null))
|
if (rdata.userAppearance.Owner != UUID.Zero)
|
||||||
rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString());
|
rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString());
|
||||||
rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString());
|
rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString());
|
||||||
|
|
||||||
|
|
|
@ -198,7 +198,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||||
lastScriptEngine.World.DeleteSceneObject(
|
lastScriptEngine.World.DeleteSceneObject(
|
||||||
part.ParentGroup);
|
part.ParentGroup);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue