diff options
author | Snoopy Pfeffer | 2012-05-03 19:00:09 +0200 |
---|---|---|
committer | Snoopy Pfeffer | 2012-05-03 19:00:09 +0200 |
commit | 100e4ca67ea5f9eacc575ac65ce3ac7cd81eeb3d (patch) | |
tree | b5e08e097c233b4cb95016647cf96647f4394800 /OpenSim/Region | |
parent | Remove the somewhat misleading logging of the string length of some unknown r... (diff) | |
download | opensim-SC-100e4ca67ea5f9eacc575ac65ce3ac7cd81eeb3d.zip opensim-SC-100e4ca67ea5f9eacc575ac65ce3ac7cd81eeb3d.tar.gz opensim-SC-100e4ca67ea5f9eacc575ac65ce3ac7cd81eeb3d.tar.bz2 opensim-SC-100e4ca67ea5f9eacc575ac65ce3ac7cd81eeb3d.tar.xz |
Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause a runtime error.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 62b5c0f..704dfc3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7336,7 +7336,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7336 | return; | 7336 | return; |
7337 | face = (int)rules.GetLSLIntegerItem(idx++); | 7337 | face = (int)rules.GetLSLIntegerItem(idx++); |
7338 | int shiny = (int)rules.GetLSLIntegerItem(idx++); | 7338 | int shiny = (int)rules.GetLSLIntegerItem(idx++); |
7339 | Bumpiness bump = (Bumpiness)Convert.ToByte((int)rules.GetLSLIntegerItem(idx++)); | 7339 | Bumpiness bump = (Bumpiness)(int)rules.GetLSLIntegerItem(idx++); |
7340 | 7340 | ||
7341 | SetShiny(part, face, shiny, bump); | 7341 | SetShiny(part, face, shiny, bump); |
7342 | 7342 | ||