mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Make an invalud key string in llTextBox and llDialog non fatal to avoid
breakinf sloppily made no-mod scripted items.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user