refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors

0.6.8-post-fixes
Justin Clark-Casey (justincc) 2009-11-17 18:44:57 +00:00
parent 710a2afd12
commit 4baac71a5e
1 changed files with 1 additions and 4 deletions

View File

@ -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;
} }