diff options
Diffstat (limited to 'OpenSim/Framework/Tests/AgentCircuitDataTest.cs')
-rw-r--r-- | OpenSim/Framework/Tests/AgentCircuitDataTest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Tests/AgentCircuitDataTest.cs b/OpenSim/Framework/Tests/AgentCircuitDataTest.cs index e8ae728..5ad0030 100644 --- a/OpenSim/Framework/Tests/AgentCircuitDataTest.cs +++ b/OpenSim/Framework/Tests/AgentCircuitDataTest.cs | |||
@@ -96,7 +96,7 @@ namespace OpenSim.Framework.Tests | |||
96 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FOOT_SIZE] = 45; | 96 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FOOT_SIZE] = 45; |
97 | 97 | ||
98 | 98 | ||
99 | // head | 99 | // head |
100 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HEAD_SIZE] = 255; | 100 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HEAD_SIZE] = 255; |
101 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_SQUASH_STRETCH_HEAD] = 0; // head stretch | 101 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_SQUASH_STRETCH_HEAD] = 0; // head stretch |
102 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HEAD_SHAPE] = 155; | 102 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HEAD_SHAPE] = 155; |
@@ -106,7 +106,7 @@ namespace OpenSim.Framework.Tests | |||
106 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FACE_SHEAR] = 127; | 106 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FACE_SHEAR] = 127; |
107 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FOREHEAD_ANGLE] = 104; | 107 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_FOREHEAD_ANGLE] = 104; |
108 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_BIG_BROW] = 94; | 108 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_BIG_BROW] = 94; |
109 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_PUFFY_UPPER_CHEEKS] = 0; // upper cheeks | 109 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_PUFFY_UPPER_CHEEKS] = 0; // upper cheeks |
110 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_DOUBLE_CHIN] = 122; // lower cheeks | 110 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_DOUBLE_CHIN] = 122; // lower cheeks |
111 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HIGH_CHEEK_BONES] = 130; | 111 | VisualParams[(int)AvatarAppearance.VPElement.SHAPE_HIGH_CHEEK_BONES] = 130; |
112 | 112 | ||
@@ -232,7 +232,7 @@ namespace OpenSim.Framework.Tests | |||
232 | /// <summary> | 232 | /// <summary> |
233 | /// Test to ensure that the serialization format is the same and the underlying types don't change without notice | 233 | /// Test to ensure that the serialization format is the same and the underlying types don't change without notice |
234 | /// oldSerialization is just a json serialization of the OSDMap packed for the AgentCircuitData. | 234 | /// oldSerialization is just a json serialization of the OSDMap packed for the AgentCircuitData. |
235 | /// The idea is that if the current json serializer cannot parse the old serialization, then the underlying types | 235 | /// The idea is that if the current json serializer cannot parse the old serialization, then the underlying types |
236 | /// have changed and are incompatible. | 236 | /// have changed and are incompatible. |
237 | /// </summary> | 237 | /// </summary> |
238 | [Test] | 238 | [Test] |
@@ -319,7 +319,7 @@ namespace OpenSim.Framework.Tests | |||
319 | string str = OSDParser.SerializeJsonString(map); | 319 | string str = OSDParser.SerializeJsonString(map); |
320 | //System.Console.WriteLine(str); | 320 | //System.Console.WriteLine(str); |
321 | map2 = (OSDMap) OSDParser.DeserializeJson(str); | 321 | map2 = (OSDMap) OSDParser.DeserializeJson(str); |
322 | } | 322 | } |
323 | catch (System.NullReferenceException) | 323 | catch (System.NullReferenceException) |
324 | { | 324 | { |
325 | //spurious litjson errors :P | 325 | //spurious litjson errors :P |