Make an invalud key string in llTextBox and llDialog non fatal to avoid

breakinf sloppily made no-mod scripted items.
avinationmerge
Melanie 2010-11-22 15:16:28 +01:00
parent 54d1d6d917
commit 506192e466
1 changed files with 2 additions and 2 deletions

View File

@ -4469,7 +4469,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
UUID av = new UUID(); UUID av = new UUID();
if (!UUID.TryParse(agent,out av)) 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; return;
} }
@ -6731,7 +6731,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
UUID av = new UUID(); UUID av = new UUID();
if (!UUID.TryParse(avatar,out av)) 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; return;
} }
if (buttons.Length < 1) if (buttons.Length < 1)