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

0.7.3-extended
Snoopy Pfeffer 2012-05-03 19:00:09 +02:00 committed by Justin Clark-Casey (justincc)
parent 0f5a77c5bd
commit d453372f4e
1 changed files with 1 additions and 1 deletions

View File

@ -7304,7 +7304,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return; return;
face = (int)rules.GetLSLIntegerItem(idx++); face = (int)rules.GetLSLIntegerItem(idx++);
int shiny = (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); SetShiny(part, face, shiny, bump);