mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user