diff options
author | Dan Lake | 2011-10-19 14:41:44 -0700 |
---|---|---|
committer | Dan Lake | 2011-10-19 14:41:44 -0700 |
commit | da794f34a56f7c88904315ae538de8f3790e6891 (patch) | |
tree | ec15f9ad1a941441ab2c0cd24f50b7636bba7bce /OpenSim/Region/Framework/Scenes | |
parent | Add "scripts stop" and "scripts start" console commands. (diff) | |
download | opensim-SC_OLD-da794f34a56f7c88904315ae538de8f3790e6891.zip opensim-SC_OLD-da794f34a56f7c88904315ae538de8f3790e6891.tar.gz opensim-SC_OLD-da794f34a56f7c88904315ae538de8f3790e6891.tar.bz2 opensim-SC_OLD-da794f34a56f7c88904315ae538de8f3790e6891.tar.xz |
Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of scene presence by client ID.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 8a32e1d..724c635 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -135,7 +135,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
135 | 135 | ||
136 | protected IXMLRPC m_xmlrpcModule; | 136 | protected IXMLRPC m_xmlrpcModule; |
137 | protected IWorldComm m_worldCommModule; | 137 | protected IWorldComm m_worldCommModule; |
138 | protected IAvatarFactory m_AvatarFactory; | 138 | protected IAvatarFactoryModule m_AvatarFactory; |
139 | protected IConfigSource m_config; | 139 | protected IConfigSource m_config; |
140 | protected IRegionSerialiserModule m_serialiser; | 140 | protected IRegionSerialiserModule m_serialiser; |
141 | protected IDialogModule m_dialogModule; | 141 | protected IDialogModule m_dialogModule; |
@@ -444,7 +444,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
444 | 444 | ||
445 | public IAttachmentsModule AttachmentsModule { get; set; } | 445 | public IAttachmentsModule AttachmentsModule { get; set; } |
446 | 446 | ||
447 | public IAvatarFactory AvatarFactory | 447 | public IAvatarFactoryModule AvatarFactory |
448 | { | 448 | { |
449 | get { return m_AvatarFactory; } | 449 | get { return m_AvatarFactory; } |
450 | } | 450 | } |
@@ -1154,7 +1154,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1154 | m_xmlrpcModule = RequestModuleInterface<IXMLRPC>(); | 1154 | m_xmlrpcModule = RequestModuleInterface<IXMLRPC>(); |
1155 | m_worldCommModule = RequestModuleInterface<IWorldComm>(); | 1155 | m_worldCommModule = RequestModuleInterface<IWorldComm>(); |
1156 | XferManager = RequestModuleInterface<IXfer>(); | 1156 | XferManager = RequestModuleInterface<IXfer>(); |
1157 | m_AvatarFactory = RequestModuleInterface<IAvatarFactory>(); | 1157 | m_AvatarFactory = RequestModuleInterface<IAvatarFactoryModule>(); |
1158 | AttachmentsModule = RequestModuleInterface<IAttachmentsModule>(); | 1158 | AttachmentsModule = RequestModuleInterface<IAttachmentsModule>(); |
1159 | m_serialiser = RequestModuleInterface<IRegionSerialiserModule>(); | 1159 | m_serialiser = RequestModuleInterface<IRegionSerialiserModule>(); |
1160 | m_dialogModule = RequestModuleInterface<IDialogModule>(); | 1160 | m_dialogModule = RequestModuleInterface<IDialogModule>(); |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e0fd84a..464f8f0 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2538,7 +2538,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2538 | // We have an appearance but we may not have the baked textures. Check the asset cache | 2538 | // We have an appearance but we may not have the baked textures. Check the asset cache |
2539 | // to see if all the baked textures are already here. | 2539 | // to see if all the baked textures are already here. |
2540 | if (m_scene.AvatarFactory != null) | 2540 | if (m_scene.AvatarFactory != null) |
2541 | cachedappearance = m_scene.AvatarFactory.ValidateBakedTextureCache(ControllingClient); | 2541 | cachedappearance = m_scene.AvatarFactory.ValidateBakedTextureCache(this); |
2542 | 2542 | ||
2543 | // If we aren't using a cached appearance, then clear out the baked textures | 2543 | // If we aren't using a cached appearance, then clear out the baked textures |
2544 | if (!cachedappearance) | 2544 | if (!cachedappearance) |