mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
reduce potencial useless string casts from list items
This commit is contained in:
@@ -559,7 +559,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
idx++;
|
||||
try
|
||||
{
|
||||
wl.normalMapTexture = new UUID(rules.GetLSLStringItem(idx).m_string);
|
||||
wl.normalMapTexture = new UUID(rules.GetStrictStringItem(idx));
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user