Merge branch 'master' into careminster
commit
9dc7fef4f6
|
@ -2086,16 +2086,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
return retVal;
|
||||
}
|
||||
|
||||
public LSL_Key osNpcCreateOwned(string firstname, string lastname, LSL_Vector position, string notecard)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.High, "osNpcCreateOwned");
|
||||
return NpcCreate(firstname, lastname, position, notecard, true);
|
||||
}
|
||||
|
||||
public LSL_Key osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.High, "osNpcCreate");
|
||||
return NpcCreate(firstname, lastname, position, notecard, false);
|
||||
return NpcCreate(firstname, lastname, position, notecard, true);
|
||||
}
|
||||
|
||||
public LSL_Key osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, int options)
|
||||
|
|
|
@ -173,7 +173,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
|||
|
||||
key osNpcCreate(string user, string name, vector position, string notecard);
|
||||
key osNpcCreate(string user, string name, vector position, string notecard, int options);
|
||||
key osNpcCreateOwned(string user, string name, vector position, string notecard);
|
||||
LSL_Key osNpcSaveAppearance(key npc, string notecard);
|
||||
void osNpcLoadAppearance(key npc, string notecard);
|
||||
vector osNpcGetPos(key npc);
|
||||
|
|
|
@ -493,11 +493,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||
return m_OSSL_Functions.osNpcCreate(user, name, position, cloneFrom, options);
|
||||
}
|
||||
|
||||
public key osNpcCreateOwned(string user, string name, vector position, key cloneFrom)
|
||||
{
|
||||
return m_OSSL_Functions.osNpcCreateOwned(user, name, position, cloneFrom);
|
||||
}
|
||||
|
||||
public key osNpcSaveAppearance(key npc, string notecard)
|
||||
{
|
||||
return m_OSSL_Functions.osNpcSaveAppearance(npc, notecard);
|
||||
|
|
|
@ -127,6 +127,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
|
||||
npc = m_scene.GetScenePresence(npcId);
|
||||
|
||||
// Now the owner deleted it and it's gone
|
||||
Assert.That(npc, Is.Null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue