Prevent a null root part from stopping objects from being persisted, also
remove any such objectsd from backup0.6.0-stable
parent
3a75a54da1
commit
1bd33aa51a
|
@ -1158,6 +1158,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
// Since this is the top of the section of call stack for backing up a particular scene object, don't let
|
// Since this is the top of the section of call stack for backing up a particular scene object, don't let
|
||||||
// any exception propogate upwards.
|
// any exception propogate upwards.
|
||||||
|
|
||||||
|
if (RootPart == null || UUID == UUID.Zero)
|
||||||
|
{
|
||||||
|
DetachFromBackup();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ILandObject parcel = m_scene.LandChannel.GetLandObject(
|
ILandObject parcel = m_scene.LandChannel.GetLandObject(
|
||||||
|
|
Loading…
Reference in New Issue