making use of implicit operators and Util.Clip handling of Vector3

This commit is contained in:
SignpostMarv
2012-08-20 09:26:26 +01:00
committed by Justin Clark-Casey (justincc)
parent b863a15a82
commit ede3b9ab07
2 changed files with 27 additions and 22 deletions

View File

@@ -7484,7 +7484,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
LSL_Vector color=rules.GetVector3Item(idx++);
double alpha=(double)rules.GetLSLFloatItem(idx++);
part.SetFaceColorAlpha(face, new Vector3((float)color.x, (float)color.y, (float)color.z), alpha);
part.SetFaceColorAlpha(face, color, alpha);
break;