Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause a runtime error.

0.7.4.1
Snoopy Pfeffer 2012-05-03 19:00:09 +02:00
parent bf5f8b54ae
commit 100e4ca67e
1 changed files with 1 additions and 1 deletions

View File

@ -7336,7 +7336,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return;
face = (int)rules.GetLSLIntegerItem(idx++);
int shiny = (int)rules.GetLSLIntegerItem(idx++);
Bumpiness bump = (Bumpiness)Convert.ToByte((int)rules.GetLSLIntegerItem(idx++));
Bumpiness bump = (Bumpiness)(int)rules.GetLSLIntegerItem(idx++);
SetShiny(part, face, shiny, bump);