From bd442208d84e3412385ecb3421344e871206e0a4 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 18 Apr 2019 14:01:54 +0100 Subject: mantis 8517: actually let NULL_KEY do the same as on PRIM_TEXTURE --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index cbd2b3c..5c6b7b2 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 { -- cgit v1.1