aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-11-17 18:44:57 +0000
committerJustin Clark-Casey (justincc)2009-11-17 18:44:57 +0000
commit4baac71a5e1f52eac214372c96ef9ac0da4bdca3 (patch)
treed954b0e247051f0e6dfa4851d2325718fa5db6e5 /OpenSim/Region/Framework
parentAdd scene animator set up to apparantly uncalled no-arg ScenePresence constru... (diff)
downloadopensim-SC_OLD-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.zip
opensim-SC_OLD-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.tar.gz
opensim-SC_OLD-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.tar.bz2
opensim-SC_OLD-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.tar.xz
refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index dad1ab2..1dedcf1 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -672,15 +672,12 @@ namespace OpenSim.Region.Framework.Scenes
672 AvatarWearable[] wearables) 672 AvatarWearable[] wearables)
673 : this(client, world, reginfo) 673 : this(client, world, reginfo)
674 { 674 {
675 CreateSceneViewer(); 675 m_appearance = new AvatarAppearance(m_uuid, wearables, visualParams);
676 m_appearance = new AvatarAppearance(m_uuid, wearables, visualParams);
677
678 } 676 }
679 677
680 public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, AvatarAppearance appearance) 678 public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, AvatarAppearance appearance)
681 : this(client, world, reginfo) 679 : this(client, world, reginfo)
682 { 680 {
683 CreateSceneViewer();
684 m_appearance = appearance; 681 m_appearance = appearance;
685 } 682 }
686 683