diff --git a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/PhysicsEngineSyncModule.cs b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/PhysicsEngineSyncModule.cs index 757d6eb23f..addb52e041 100755 --- a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/PhysicsEngineSyncModule.cs +++ b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/PhysicsEngineSyncModule.cs @@ -77,6 +77,13 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule //register the module with SceneGraph. If needed, SceneGraph checks the module's ActorType to know what type of module it is. m_scene.RegisterModuleInterface(this); + // register actor + if (!scene.GridService.RegisterActor(scene.RegionInfo.RegionID.ToString(), + "physics_engine", scene.RegionInfo.RegionID.ToString())) + { + m_log.ErrorFormat("{0}: Failure registering actor", LogHeader); + } + // Setup the command line interface //m_scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; //InstallInterfaces(); diff --git a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs index 0a9ad781ac..318efda12f 100644 --- a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs +++ b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs @@ -777,11 +777,6 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule { m_log.ErrorFormat("{0}: Failure registering endpoint", LogHeader); } - if (!m_scene.GridService.RegisterActor(m_scene.RegionInfo.RegionID.ToString(), - "scene_persistence", m_scene.RegionInfo.RegionID.ToString())) - { - m_log.ErrorFormat("{0}: Failure registering actor", LogHeader); - } if (!m_scene.GridService.RegisterQuark(m_scene.RegionInfo.RegionID.ToString(), m_scene.RegionInfo.SyncQuarkLocationX, m_scene.RegionInfo.SyncQuarkLocationY)) { diff --git a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/ScenePersistenceSyncModule.cs b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/ScenePersistenceSyncModule.cs index 69b3472728..5d6512b359 100755 --- a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/ScenePersistenceSyncModule.cs +++ b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/ScenePersistenceSyncModule.cs @@ -74,6 +74,13 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule //register the module with SceneGraph. If needed, SceneGraph checks the module's ActorType to know what type of module it is. m_scene.RegisterModuleInterface(this); + // register actor + if (!scene.GridService.RegisterActor(scene.RegionInfo.RegionID.ToString(), + "scene_persistence", scene.RegionInfo.RegionID.ToString())) + { + m_log.ErrorFormat("{0}: Failure registering actor", LogHeader); + } + // Setup the command line interface //m_scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; //InstallInterfaces();