diff options
author | Justin Clark-Casey (justincc) | 2011-08-02 00:13:04 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-02 00:13:04 +0100 |
commit | b6ac1c46cd473b129b70344f0001f1e8f97d8860 (patch) | |
tree | 46e5d02205b63d16f29b3aaf6a3ad910192aaeb6 /OpenSim/Framework/Tests | |
parent | Get osNpcCreate appearance working with avatars that are currently in the scene. (diff) | |
download | opensim-SC_OLD-b6ac1c46cd473b129b70344f0001f1e8f97d8860.zip opensim-SC_OLD-b6ac1c46cd473b129b70344f0001f1e8f97d8860.tar.gz opensim-SC_OLD-b6ac1c46cd473b129b70344f0001f1e8f97d8860.tar.bz2 opensim-SC_OLD-b6ac1c46cd473b129b70344f0001f1e8f97d8860.tar.xz |
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.
Diffstat (limited to 'OpenSim/Framework/Tests')
-rw-r--r-- | OpenSim/Framework/Tests/AgentCircuitDataTest.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Tests/AgentCircuitManagerTests.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Tests/AgentCircuitDataTest.cs b/OpenSim/Framework/Tests/AgentCircuitDataTest.cs index 05d8469..0dce414 100644 --- a/OpenSim/Framework/Tests/AgentCircuitDataTest.cs +++ b/OpenSim/Framework/Tests/AgentCircuitDataTest.cs | |||
@@ -64,7 +64,7 @@ namespace OpenSim.Framework.Tests | |||
64 | SecureSessionId = UUID.Random(); | 64 | SecureSessionId = UUID.Random(); |
65 | SessionId = UUID.Random(); | 65 | SessionId = UUID.Random(); |
66 | 66 | ||
67 | AvAppearance = new AvatarAppearance(AgentId); | 67 | AvAppearance = new AvatarAppearance(); |
68 | VisualParams = new byte[218]; | 68 | VisualParams = new byte[218]; |
69 | 69 | ||
70 | //body | 70 | //body |
diff --git a/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs b/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs index 6c98897..9615f1b 100644 --- a/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs +++ b/OpenSim/Framework/Tests/AgentCircuitManagerTests.cs | |||
@@ -68,7 +68,7 @@ namespace OpenSim.Framework.Tests | |||
68 | 68 | ||
69 | m_agentCircuitData1 = new AgentCircuitData(); | 69 | m_agentCircuitData1 = new AgentCircuitData(); |
70 | m_agentCircuitData1.AgentID = AgentId1; | 70 | m_agentCircuitData1.AgentID = AgentId1; |
71 | m_agentCircuitData1.Appearance = new AvatarAppearance(AgentId1); | 71 | m_agentCircuitData1.Appearance = new AvatarAppearance(); |
72 | m_agentCircuitData1.BaseFolder = BaseFolder; | 72 | m_agentCircuitData1.BaseFolder = BaseFolder; |
73 | m_agentCircuitData1.CapsPath = CapsPath; | 73 | m_agentCircuitData1.CapsPath = CapsPath; |
74 | m_agentCircuitData1.child = false; | 74 | m_agentCircuitData1.child = false; |
@@ -83,7 +83,7 @@ namespace OpenSim.Framework.Tests | |||
83 | 83 | ||
84 | m_agentCircuitData2 = new AgentCircuitData(); | 84 | m_agentCircuitData2 = new AgentCircuitData(); |
85 | m_agentCircuitData2.AgentID = AgentId2; | 85 | m_agentCircuitData2.AgentID = AgentId2; |
86 | m_agentCircuitData2.Appearance = new AvatarAppearance(AgentId2); | 86 | m_agentCircuitData2.Appearance = new AvatarAppearance(); |
87 | m_agentCircuitData2.BaseFolder = BaseFolder; | 87 | m_agentCircuitData2.BaseFolder = BaseFolder; |
88 | m_agentCircuitData2.CapsPath = CapsPath; | 88 | m_agentCircuitData2.CapsPath = CapsPath; |
89 | m_agentCircuitData2.child = false; | 89 | m_agentCircuitData2.child = false; |