aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorSignpostMarv2012-08-17 15:09:52 +0100
committerJustin Clark-Casey (justincc)2012-08-20 23:10:25 +0100
commitb863a15a820be7c3b86b27ef24944d6a85fa5360 (patch)
tree864d4a4bee8a22d81bb091dbd642ff0930baf9ec /OpenSim/Region/ScriptEngine/Shared
parentfix typo (diff)
downloadopensim-SC_OLD-b863a15a820be7c3b86b27ef24944d6a85fa5360.zip
opensim-SC_OLD-b863a15a820be7c3b86b27ef24944d6a85fa5360.tar.gz
opensim-SC_OLD-b863a15a820be7c3b86b27ef24944d6a85fa5360.tar.bz2
opensim-SC_OLD-b863a15a820be7c3b86b27ef24944d6a85fa5360.tar.xz
single operation for PRIM_COLOR
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4645e7a..dbbfbd3 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7484,8 +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.SetFaceColor(color, face); 7487 part.SetFaceColorAlpha(face, new Vector3((float)color.x, (float)color.y, (float)color.z), alpha);
7488 SetAlpha(part, alpha, face);
7489 7488
7490 break; 7489 break;
7491 7490