stop "load oar" reporting ignored objects when those objects were actually loaded just fine

this fix also means that loaded scripts are properly/more promptly started
here, the fix is only done in the oar module.  In master, the underlying problem was fixed instead but this is more invasive.
0.6.9-post-fixes
Justin Clark-Casey (justincc) 2010-05-24 16:53:43 +01:00
parent 3bd2ec7b2e
commit 2603f9a134
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
}
}
if (m_scene.AddRestoredSceneObject(sceneObject, true, false))
if (!m_scene.AddRestoredSceneObject(sceneObject, true, false))
{
sceneObjectsLoadedCount++;
sceneObject.CreateScriptInstances(0, false, m_scene.DefaultScriptEngine, 0);