diff options
author | Justin Clark-Casey (justincc) | 2013-02-06 01:44:37 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-06 01:49:32 +0000 |
commit | dfe5826f9fd8854ddb5f0cc465564d8f124d7786 (patch) | |
tree | 6c87b0cb9f429ba680ecc990e2acf21cc81cb0a0 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Allow JsonReadNotecard() to accept the name of the notecard as well as the as... (diff) | |
download | opensim-SC-dfe5826f9fd8854ddb5f0cc465564d8f124d7786.zip opensim-SC-dfe5826f9fd8854ddb5f0cc465564d8f124d7786.tar.gz opensim-SC-dfe5826f9fd8854ddb5f0cc465564d8f124d7786.tar.bz2 opensim-SC-dfe5826f9fd8854ddb5f0cc465564d8f124d7786.tar.xz |
Remove wrong code in ScriptUtils.GetAssetIdFromKeyOrItemName which would return the item ID instead of the asset ID if the identifier was a uuid that matched an inventory item name.
This would practically never happen.
This makes this overloaded version of the function consistent with the other version.
It looks like this accidentally came over in commit c5af16a from Tue Oct 16 12:40:21 2012
However, there's arguably a case for looking for an item name that matches a UUID before assuming that the identifier is already an asset ID.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
0 files changed, 0 insertions, 0 deletions