diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index cbd2b3c35f..5c6b7b2fae 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2411,7 +2411,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID textureID = new UUID(); bool dotexture = true; - if(String.IsNullOrEmpty(texture)) + if(String.IsNullOrEmpty(texture) || texture == ScriptBaseClass.NULL_KEY) dotexture = false; else {