* Adds additional check to MRM rezzing - the host object must be created by the sim owner, not just owned by it.

0.6.5-rc1
Adam Frisby 2009-05-12 21:42:20 +00:00
parent 3a28f748d5
commit 12d7063b0b
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
if (script.StartsWith("//MRM:C#"))
{
if (m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.MasterAvatarAssignedUUID)
if (m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.MasterAvatarAssignedUUID
||
m_scene.GetSceneObjectPart(localID).CreatorID != m_scene.RegionInfo.MasterAvatarAssignedUUID)
return;
script = ConvertMRMKeywords(script);