mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Get rid of AvatarAppearance.Owner to simplify the code.
This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
This commit is contained in:
@@ -93,7 +93,6 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
|
||||
AvatarAppearance originalAppearance = GetAppearance(cloneAppearanceFrom, scene);
|
||||
AvatarAppearance npcAppearance = new AvatarAppearance(originalAppearance, true);
|
||||
npcAppearance.Owner = acd.AgentID;
|
||||
acd.Appearance = npcAppearance;
|
||||
|
||||
// for (int i = 0; i < acd.Appearance.Texture.FaceTextures.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user