From 506192e4663456d1d35976cc854e2a675660463a Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 22 Nov 2010 15:16:28 +0100 Subject: [PATCH] Make an invalud key string in llTextBox and llDialog non fatal to avoid breakinf sloppily made no-mod scripted items. --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index dee0d9a8b8..1ba28dca5c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4469,7 +4469,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID av = new UUID(); if (!UUID.TryParse(agent,out av)) { - LSLError("First parameter to llDialog needs to be a key"); + //LSLError("First parameter to llDialog needs to be a key"); return; } @@ -6731,7 +6731,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api UUID av = new UUID(); if (!UUID.TryParse(avatar,out av)) { - LSLError("First parameter to llDialog needs to be a key"); + //LSLError("First parameter to llDialog needs to be a key"); return; } if (buttons.Length < 1)