mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Prevent a null root part from stopping objects from being persisted, also
remove any such objectsd from backup
This commit is contained in:
@@ -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
|
||||
// any exception propogate upwards.
|
||||
|
||||
if (RootPart == null || UUID == UUID.Zero)
|
||||
{
|
||||
DetachFromBackup();
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
ILandObject parcel = m_scene.LandChannel.GetLandObject(
|
||||
|
||||
Reference in New Issue
Block a user