aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
diff options
context:
space:
mode:
authorJeff Ames2008-06-06 01:19:15 +0000
committerJeff Ames2008-06-06 01:19:15 +0000
commitfbd37c420fff59968b31dfa8b4f25b23ca72d466 (patch)
tree224d4b72f92ef7f6187cd728d9fad2c58fafc098 /OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
parentMantis#1333. Thank you kindly, Mikem for a patch to (diff)
downloadopensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.zip
opensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.tar.gz
opensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.tar.bz2
opensim-SC_OLD-fbd37c420fff59968b31dfa8b4f25b23ca72d466.tar.xz
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/EventManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/EventManager.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
index 59c54f0..06277a1 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
@@ -84,11 +84,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine
84 84
85 SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart( 85 SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart(
86 localID); 86 localID);
87 if(part == null) 87 if (part == null)
88 return; 88 return;
89 89
90 det[0].LinkNum = 0; 90 det[0].LinkNum = 0;
91 if(part.ParentGroup.Children.Count > 0) 91 if (part.ParentGroup.Children.Count > 0)
92 det[0].LinkNum = part.LinkNum + 1; 92 det[0].LinkNum = part.LinkNum + 1;
93 93
94 myScriptEngine.PostObjectEvent(localID, new XEventParams( 94 myScriptEngine.PostObjectEvent(localID, new XEventParams(
@@ -109,11 +109,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine
109 109
110 SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart( 110 SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart(
111 localID); 111 localID);
112 if(part == null) 112 if (part == null)
113 return; 113 return;
114 114
115 det[0].LinkNum = 0; 115 det[0].LinkNum = 0;
116 if(part.ParentGroup.Children.Count > 0) 116 if (part.ParentGroup.Children.Count > 0)
117 det[0].LinkNum = part.LinkNum + 1; 117 det[0].LinkNum = part.LinkNum + 1;
118 118
119 myScriptEngine.PostObjectEvent(localID, new XEventParams( 119 myScriptEngine.PostObjectEvent(localID, new XEventParams(
@@ -130,11 +130,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine
130 130
131 SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart( 131 SceneObjectPart part = myScriptEngine.World.GetSceneObjectPart(
132 localID); 132 localID);
133 if(part == null) 133 if (part == null)
134 return; 134 return;
135 135
136 det[0].LinkNum = 0; 136 det[0].LinkNum = 0;
137 if(part.ParentGroup.Children.Count > 0) 137 if (part.ParentGroup.Children.Count > 0)
138 det[0].LinkNum = part.LinkNum + 1; 138 det[0].LinkNum = part.LinkNum + 1;
139 139
140 myScriptEngine.PostObjectEvent(localID, new XEventParams( 140 myScriptEngine.PostObjectEvent(localID, new XEventParams(