aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs
index 8c8cebe..e8f29c8 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs
@@ -35,7 +35,6 @@ namespace OpenSim.Region.Environment.Scenes
35 { 35 {
36 public class AvatarAnimations 36 public class AvatarAnimations
37 { 37 {
38
39 public Dictionary<string, LLUUID> AnimsLLUUID = new Dictionary<string, LLUUID>(); 38 public Dictionary<string, LLUUID> AnimsLLUUID = new Dictionary<string, LLUUID>();
40 public Dictionary<LLUUID, string> AnimsNames = new Dictionary<LLUUID, string>(); 39 public Dictionary<LLUUID, string> AnimsNames = new Dictionary<LLUUID, string>();
41 40
@@ -52,12 +51,10 @@ namespace OpenSim.Region.Environment.Scenes
52 doc.Load(reader); 51 doc.Load(reader);
53 foreach (XmlNode nod in doc.DocumentElement.ChildNodes) 52 foreach (XmlNode nod in doc.DocumentElement.ChildNodes)
54 { 53 {
55
56 if (nod.Attributes["name"] != null) 54 if (nod.Attributes["name"] != null)
57 { 55 {
58 AnimsLLUUID.Add(nod.Attributes["name"].Value, nod.InnerText); 56 AnimsLLUUID.Add(nod.Attributes["name"].Value, nod.InnerText);
59 } 57 }
60
61 } 58 }
62 59
63 reader.Close(); 60 reader.Close();
@@ -71,4 +68,4 @@ namespace OpenSim.Region.Environment.Scenes
71 } 68 }
72 } 69 }
73 } 70 }
74} 71} \ No newline at end of file