Change XEngine money() event routing to always raise the money()
event int he root prim of a linkset0.6.2-post-fixes
parent
8444528bdc
commit
d56a62253b
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue