mirror of
https://github.com/opensim/opensim.git
synced 2026-07-15 12:05:49 +08:00
Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause a runtime error.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user