aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-04 00:15:48 +0100
committerJustin Clark-Casey (justincc)2011-10-04 00:15:48 +0100
commita8af0a5ba873dbb8c447e16b142ba7f5af715bdb (patch)
treed5a751981ce78f2a28cacde3295d1ba6b4a25a10
parentFor llGetTexture(), if the face texture asset is in the inventory, return the... (diff)
downloadopensim-SC-a8af0a5ba873dbb8c447e16b142ba7f5af715bdb.zip
opensim-SC-a8af0a5ba873dbb8c447e16b142ba7f5af715bdb.tar.gz
opensim-SC-a8af0a5ba873dbb8c447e16b142ba7f5af715bdb.tar.bz2
opensim-SC-a8af0a5ba873dbb8c447e16b142ba7f5af715bdb.tar.xz
Return NULL_KEY from llGetTexture if a non-existent face is indicated, rather than ""
As per http://wiki.secondlife.com/wiki/LlGetTexture
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 8291105..5ede801 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1935,7 +1935,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1935 } 1935 }
1936 else 1936 else
1937 { 1937 {
1938 return String.Empty; 1938 return UUID.Zero.ToString();
1939 } 1939 }
1940 } 1940 }
1941 1941