mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of scene presence by client ID.
This commit is contained in:
@@ -135,7 +135,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
protected IXMLRPC m_xmlrpcModule;
|
||||
protected IWorldComm m_worldCommModule;
|
||||
protected IAvatarFactory m_AvatarFactory;
|
||||
protected IAvatarFactoryModule m_AvatarFactory;
|
||||
protected IConfigSource m_config;
|
||||
protected IRegionSerialiserModule m_serialiser;
|
||||
protected IDialogModule m_dialogModule;
|
||||
@@ -444,7 +444,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public IAttachmentsModule AttachmentsModule { get; set; }
|
||||
|
||||
public IAvatarFactory AvatarFactory
|
||||
public IAvatarFactoryModule AvatarFactory
|
||||
{
|
||||
get { return m_AvatarFactory; }
|
||||
}
|
||||
@@ -1154,7 +1154,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_xmlrpcModule = RequestModuleInterface<IXMLRPC>();
|
||||
m_worldCommModule = RequestModuleInterface<IWorldComm>();
|
||||
XferManager = RequestModuleInterface<IXfer>();
|
||||
m_AvatarFactory = RequestModuleInterface<IAvatarFactory>();
|
||||
m_AvatarFactory = RequestModuleInterface<IAvatarFactoryModule>();
|
||||
AttachmentsModule = RequestModuleInterface<IAttachmentsModule>();
|
||||
m_serialiser = RequestModuleInterface<IRegionSerialiserModule>();
|
||||
m_dialogModule = RequestModuleInterface<IDialogModule>();
|
||||
|
||||
@@ -2538,7 +2538,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// We have an appearance but we may not have the baked textures. Check the asset cache
|
||||
// to see if all the baked textures are already here.
|
||||
if (m_scene.AvatarFactory != null)
|
||||
cachedappearance = m_scene.AvatarFactory.ValidateBakedTextureCache(ControllingClient);
|
||||
cachedappearance = m_scene.AvatarFactory.ValidateBakedTextureCache(this);
|
||||
|
||||
// If we aren't using a cached appearance, then clear out the baked textures
|
||||
if (!cachedappearance)
|
||||
|
||||
Reference in New Issue
Block a user