From 4baac71a5e1f52eac214372c96ef9ac0da4bdca3 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Tue, 17 Nov 2009 18:44:57 +0000 Subject: [PATCH] refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index dad1ab2d52..1dedcf18f8 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -672,15 +672,12 @@ namespace OpenSim.Region.Framework.Scenes AvatarWearable[] wearables) : 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) : this(client, world, reginfo) { - CreateSceneViewer(); m_appearance = appearance; }