mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Reduce coupling in regression test task inventory creation methods to make them usable in tests with no scene present
This commit is contained in:
@@ -114,7 +114,7 @@ namespace OpenSim.Region.ScriptEngine.Tests
|
||||
|
||||
SceneObjectGroup so = SceneHelpers.CreateSceneObject(1, sp.UUID, "att-name", 0x10);
|
||||
TaskInventoryHelpers.AddScript(
|
||||
scene,
|
||||
scene.AssetService,
|
||||
so.RootPart,
|
||||
"scriptItem",
|
||||
"default { attach(key id) { if (id != NULL_KEY) { llSay(0, \"Hello World\"); } } }");
|
||||
|
||||
Reference in New Issue
Block a user