mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
a few changes on teleport lookat
This commit is contained in:
@@ -64,6 +64,9 @@ namespace OpenSim.Region.Framework.Scenes.Scripting
|
||||
/// <returns></returns>
|
||||
public static UUID GetAssetIdFromKeyOrItemName(SceneObjectPart part, string identifier)
|
||||
{
|
||||
if(string.IsNullOrEmpty(identifier))
|
||||
return UUID.Zero;
|
||||
|
||||
// if we can parse the string as a key, use it.
|
||||
// else try to locate the name in inventory of object. found returns key,
|
||||
// not found returns UUID.Zero
|
||||
|
||||
Reference in New Issue
Block a user