* Adds additional check to MRM rezzing - the host object must be created by the sim owner, not just owned by it.
parent
3a28f748d5
commit
12d7063b0b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue