mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Publish a method on ICompiler to generate the CIL assembly path
Cause group deeding to apply next owner perms
This commit is contained in:
@@ -2724,6 +2724,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||||||
}
|
}
|
||||||
|
|
||||||
sog.SetOwnerId(groupID);
|
sog.SetOwnerId(groupID);
|
||||||
|
sog.ApplyNextOwnerPermissions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,5 +38,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
|||||||
string[] GetWarnings();
|
string[] GetWarnings();
|
||||||
Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>>
|
Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>>
|
||||||
LineMap();
|
LineMap();
|
||||||
|
string GetAssemblyName(UUID assetID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -259,6 +259,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
public string GetAssemblyName(UUID assetID)
|
||||||
|
{
|
||||||
|
return Path.Combine(ScriptEnginesPath, Path.Combine(
|
||||||
|
m_scriptEngine.World.RegionInfo.RegionID.ToString(),
|
||||||
|
FilePrefix + "_compiled_" + assetID + ".dll"));
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts script from LSL to CS and calls CompileFromCSText
|
/// Converts script from LSL to CS and calls CompileFromCSText
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user