diff options
author | SignpostMarv | 2012-08-20 09:31:29 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-20 23:10:25 +0100 |
commit | 481c00f50a1961ac77e800d64a68e9c30a4b69de (patch) | |
tree | fac66b6d1e57943d384f8e66536940c596d303fa /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | making use of implicit operators and Util.Clip handling of Vector3 (diff) | |
download | opensim-SC_OLD-481c00f50a1961ac77e800d64a68e9c30a4b69de.zip opensim-SC_OLD-481c00f50a1961ac77e800d64a68e9c30a4b69de.tar.gz opensim-SC_OLD-481c00f50a1961ac77e800d64a68e9c30a4b69de.tar.bz2 opensim-SC_OLD-481c00f50a1961ac77e800d64a68e9c30a4b69de.tar.xz |
refactoring out SetFaceColor
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 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 0cbb317..8140416 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1377,7 +1377,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1377 | if (face == ScriptBaseClass.ALL_SIDES) | 1377 | if (face == ScriptBaseClass.ALL_SIDES) |
1378 | face = SceneObjectPart.ALL_SIDES; | 1378 | face = SceneObjectPart.ALL_SIDES; |
1379 | 1379 | ||
1380 | m_host.SetFaceColor(color, face); | 1380 | m_host.SetFaceColorAlpha(face, color, null); |
1381 | } | 1381 | } |
1382 | 1382 | ||
1383 | public void SetTexGen(SceneObjectPart part, int face,int style) | 1383 | public void SetTexGen(SceneObjectPart part, int face,int style) |
@@ -3572,7 +3572,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3572 | List<SceneObjectPart> parts = GetLinkParts(linknumber); | 3572 | List<SceneObjectPart> parts = GetLinkParts(linknumber); |
3573 | 3573 | ||
3574 | foreach (SceneObjectPart part in parts) | 3574 | foreach (SceneObjectPart part in parts) |
3575 | part.SetFaceColor(color, face); | 3575 | part.SetFaceColorAlpha(face, color, null); |
3576 | } | 3576 | } |
3577 | 3577 | ||
3578 | public void llCreateLink(string target, int parent) | 3578 | public void llCreateLink(string target, int parent) |