mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Make AddRestoredSceneObject reset the IsDeleted flag so we can take an
object out of the scene and then put it back in.
This commit is contained in:
@@ -2003,7 +2003,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public bool AddRestoredSceneObject(
|
||||
SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted, bool sendClientUpdates)
|
||||
{
|
||||
return m_sceneGraph.AddRestoredSceneObject(sceneObject, attachToBackup, alreadyPersisted, sendClientUpdates);
|
||||
bool result = m_sceneGraph.AddRestoredSceneObject(sceneObject, attachToBackup, alreadyPersisted, sendClientUpdates);
|
||||
if (result)
|
||||
sceneObject.IsDeleted = false;
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user