From 38ce9d45a523db277d3eb4d3ed310b7cd9ca6b43 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 24 May 2012 01:00:18 +0100
Subject: Make ISimulationScene.GetScene() used the more efficient region id
for lookup rather than the region handle.
---
.../Connectors/Simulation/SimulationServiceConnector.cs | 2 +-
OpenSim/Services/Interfaces/ISimulationService.cs | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Services')
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
index cb003d1..cc46ba8 100644
--- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
@@ -62,7 +62,7 @@ namespace OpenSim.Services.Connectors.Simulation
//m_Region = region;
}
- public IScene GetScene(ulong regionHandle)
+ public IScene GetScene(UUID regionId)
{
return null;
}
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs
index 36fd6fc..4e52532 100644
--- a/OpenSim/Services/Interfaces/ISimulationService.cs
+++ b/OpenSim/Services/Interfaces/ISimulationService.cs
@@ -35,7 +35,17 @@ namespace OpenSim.Services.Interfaces
{
public interface ISimulationService
{
- IScene GetScene(ulong regionHandle);
+ ///
+ /// Retrieve the scene with the given region ID.
+ ///
+ ///
+ /// Region identifier.
+ ///
+ ///
+ /// The scene.
+ ///
+ IScene GetScene(UUID regionId);
+
ISimulationService GetInnerService();
#region Agents
--
cgit v1.1