mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
Add regression TestDetachScriptedAttachmentToInventory()
This currently only does a relatively crude check for a ScriptState node in the serialized xml
This commit is contained in:
@@ -81,7 +81,7 @@ namespace OpenSim.Tests.Common
|
||||
public static TaskInventoryItem AddScript(Scene scene, SceneObjectPart part)
|
||||
{
|
||||
AssetScriptText ast = new AssetScriptText();
|
||||
ast.Source = "default { state_entry() {} }";
|
||||
ast.Source = "default { state_entry() { llSay(0, \"Hello World\"); } }";
|
||||
ast.Encode();
|
||||
|
||||
UUID assetUuid = new UUID("00000000-0000-0000-1000-000000000000");
|
||||
|
||||
Reference in New Issue
Block a user