diff options
author | Justin Clark-Casey (justincc) | 2009-11-17 18:44:57 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-17 18:44:57 +0000 |
commit | 4baac71a5e1f52eac214372c96ef9ac0da4bdca3 (patch) | |
tree | d954b0e247051f0e6dfa4851d2325718fa5db6e5 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Add scene animator set up to apparantly uncalled no-arg ScenePresence constru... (diff) | |
download | opensim-SC-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.zip opensim-SC-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.tar.gz opensim-SC-4baac71a5e1f52eac214372c96ef9ac0da4bdca3.tar.bz2 opensim-SC-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/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
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 | ||