diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 6a0f472..2a1949d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -6041,10 +6041,17 @@ Environment.Exit(1); | |||
6041 | GC.Collect(); | 6041 | GC.Collect(); |
6042 | } | 6042 | } |
6043 | 6043 | ||
6044 | // Wrappers to get physics modules retrieve assets. Has to be done this way | 6044 | /// <summary> |
6045 | // because we can't assign the asset service to physics directly - at the | 6045 | /// Wrappers to get physics modules retrieve assets. |
6046 | // time physics are instantiated it's not registered but it will be by | 6046 | /// </summary> |
6047 | // the time the first prim exists. | 6047 | /// <remarks> |
6048 | /// Has to be done this way | ||
6049 | /// because we can't assign the asset service to physics directly - at the | ||
6050 | /// time physics are instantiated it's not registered but it will be by | ||
6051 | /// the time the first prim exists. | ||
6052 | /// </remarks> | ||
6053 | /// <param name="assetID"></param> | ||
6054 | /// <param name="callback"></param> | ||
6048 | public void PhysicsRequestAsset(UUID assetID, AssetReceivedDelegate callback) | 6055 | public void PhysicsRequestAsset(UUID assetID, AssetReceivedDelegate callback) |
6049 | { | 6056 | { |
6050 | AssetService.Get(assetID.ToString(), callback, PhysicsAssetReceived); | 6057 | AssetService.Get(assetID.ToString(), callback, PhysicsAssetReceived); |