Change XEngine money() event routing to always raise the money()

event int he root prim of a linkset
0.6.2-post-fixes
Melanie Thielker 2008-12-21 17:07:45 +00:00
parent 8444528bdc
commit d56a62253b
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
{ {
SceneObjectPart part = SceneObjectPart part =
myScriptEngine.World.GetSceneObjectPart(objectID); myScriptEngine.World.GetSceneObjectPart(objectID);
if (part.ParentGroup != null)
part = part.ParentGroup.RootPart;
if (part != null) if (part != null)
{ {