mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
dont abort llDialog if buttons labels are longer than 24bytes, let udp truncate. This is not as spec but allows old scripts or with minor bugs to still work
This commit is contained in:
@@ -7925,11 +7925,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
Error("llDialog", "Button label cannot be blank");
|
||||
return;
|
||||
}
|
||||
/*
|
||||
if (buttons.Data[i].ToString().Length > 24)
|
||||
{
|
||||
Error("llDialog", "Button label cannot be longer than 24 characters");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
buts[i] = buttons.Data[i].ToString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user