Implement osAgentSaveAppearance() to save the appearance of an avatar in the region to a notecard

This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-11 22:26:47 +01:00
parent 50945dd560
commit b1ae930c6b
4 changed files with 78 additions and 5 deletions

View File

@@ -523,6 +523,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_OSSL_Functions.osOwnerSaveAppearance(notecardName);
}
public LSL_Key osAgentSaveAppearance(LSL_Key agentId, string notecardName)
{
return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecardName);
}
public OSSLPrim Prim;
[Serializable]