mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Fix region crossing for unscripted prims, avoid costly SEH
This commit is contained in:
@@ -437,13 +437,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void SetState(string objXMLData, UUID RegionID)
|
||||
{
|
||||
if (objXMLData == String.Empty)
|
||||
return;
|
||||
|
||||
XmlDocument doc = new XmlDocument();
|
||||
try
|
||||
{
|
||||
doc.LoadXml(objXMLData);
|
||||
}
|
||||
catch (System.Xml.XmlException)
|
||||
catch (Exception) // (System.Xml.XmlException)
|
||||
{
|
||||
// We will get here if the XML is invalid or in unit
|
||||
// tests. Really should determine which it is and either
|
||||
|
||||
Reference in New Issue
Block a user