diff options
author | SignpostMarv | 2012-08-20 09:26:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-20 23:10:25 +0100 |
commit | ede3b9ab07dc1ed4a51684b7257cbb4d76e9bdfd (patch) | |
tree | faeed5b19ad958ed64a9dee79ad0f2aaf009b880 /OpenSim/Region/ScriptEngine | |
parent | single operation for PRIM_COLOR (diff) | |
download | opensim-SC-ede3b9ab07dc1ed4a51684b7257cbb4d76e9bdfd.zip opensim-SC-ede3b9ab07dc1ed4a51684b7257cbb4d76e9bdfd.tar.gz opensim-SC-ede3b9ab07dc1ed4a51684b7257cbb4d76e9bdfd.tar.bz2 opensim-SC-ede3b9ab07dc1ed4a51684b7257cbb4d76e9bdfd.tar.xz |
making use of implicit operators and Util.Clip handling of Vector3
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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 dbbfbd3..0cbb317 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7484,7 +7484,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7484 | LSL_Vector color=rules.GetVector3Item(idx++); | 7484 | LSL_Vector color=rules.GetVector3Item(idx++); |
7485 | double alpha=(double)rules.GetLSLFloatItem(idx++); | 7485 | double alpha=(double)rules.GetLSLFloatItem(idx++); |
7486 | 7486 | ||
7487 | part.SetFaceColorAlpha(face, new Vector3((float)color.x, (float)color.y, (float)color.z), alpha); | 7487 | part.SetFaceColorAlpha(face, color, alpha); |
7488 | 7488 | ||
7489 | break; | 7489 | break; |
7490 | 7490 | ||