diff options
author | Justin Clark-Casey (justincc) | 2011-08-11 22:26:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-11 22:26:47 +0100 |
commit | b1ae930c6b8e7d985e2c148a4e18a59ac880dcbd (patch) | |
tree | 22bcbbd9275672651699420ee0b4f347ec2c8c8f /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | add regression test for osNpcCreate when cloning an in-region avatar (diff) | |
download | opensim-SC_OLD-b1ae930c6b8e7d985e2c148a4e18a59ac880dcbd.zip opensim-SC_OLD-b1ae930c6b8e7d985e2c148a4e18a59ac880dcbd.tar.gz opensim-SC_OLD-b1ae930c6b8e7d985e2c148a4e18a59ac880dcbd.tar.bz2 opensim-SC_OLD-b1ae930c6b8e7d985e2c148a4e18a59ac880dcbd.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 84d61f4..4701736 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -523,6 +523,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
523 | return m_OSSL_Functions.osOwnerSaveAppearance(notecardName); | 523 | return m_OSSL_Functions.osOwnerSaveAppearance(notecardName); |
524 | } | 524 | } |
525 | 525 | ||
526 | public LSL_Key osAgentSaveAppearance(LSL_Key agentId, string notecardName) | ||
527 | { | ||
528 | return m_OSSL_Functions.osAgentSaveAppearance(agentId, notecardName); | ||
529 | } | ||
530 | |||
526 | public OSSLPrim Prim; | 531 | public OSSLPrim Prim; |
527 | 532 | ||
528 | [Serializable] | 533 | [Serializable] |