refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors
parent
710a2afd12
commit
4baac71a5e
|
@ -672,15 +672,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
AvatarWearable[] wearables)
|
AvatarWearable[] wearables)
|
||||||
: this(client, world, reginfo)
|
: this(client, world, reginfo)
|
||||||
{
|
{
|
||||||
CreateSceneViewer();
|
m_appearance = new AvatarAppearance(m_uuid, wearables, visualParams);
|
||||||
m_appearance = new AvatarAppearance(m_uuid, wearables, visualParams);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, AvatarAppearance appearance)
|
public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, AvatarAppearance appearance)
|
||||||
: this(client, world, reginfo)
|
: this(client, world, reginfo)
|
||||||
{
|
{
|
||||||
CreateSceneViewer();
|
|
||||||
m_appearance = appearance;
|
m_appearance = appearance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue