mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 08:25:44 +08:00
making use of implicit operators and Util.Clip handling of Vector3
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
b863a15a82
commit
ede3b9ab07
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user