aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-12-21 17:07:45 +0000
committerMelanie Thielker2008-12-21 17:07:45 +0000
commitd56a62253b4756ef0b175fee226ad9a9abf0a1ff (patch)
tree5004ac5d1684af2ddb4672c94f3ddb86b79517fc /OpenSim/Region
parent* Adding a two prim linking/delinking test. This test is likely to get on pe... (diff)
downloadopensim-SC-d56a62253b4756ef0b175fee226ad9a9abf0a1ff.zip
opensim-SC-d56a62253b4756ef0b175fee226ad9a9abf0a1ff.tar.gz
opensim-SC-d56a62253b4756ef0b175fee226ad9a9abf0a1ff.tar.bz2
opensim-SC-d56a62253b4756ef0b175fee226ad9a9abf0a1ff.tar.xz
Change XEngine money() event routing to always raise the money()
event int he root prim of a linkset
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/EventManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
index 67ac0ce..bb939fb 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
@@ -72,6 +72,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
72 { 72 {
73 SceneObjectPart part = 73 SceneObjectPart part =
74 myScriptEngine.World.GetSceneObjectPart(objectID); 74 myScriptEngine.World.GetSceneObjectPart(objectID);
75 if (part.ParentGroup != null)
76 part = part.ParentGroup.RootPart;
75 77
76 if (part != null) 78 if (part != null)
77 { 79 {