diff options
author | Marck | 2010-08-09 23:46:30 +0200 |
---|---|---|
committer | Melanie | 2010-08-10 19:38:39 +0100 |
commit | 4f62f00ca01045ec55987cd7c98410c77db03dfd (patch) | |
tree | 07f6e687f3abc063b0ae7b28353b0fcc62e8b938 /OpenSim/Region/Framework | |
parent | Removed abstract SetText method from EntityBase to make cleaner API. (diff) | |
download | opensim-SC_OLD-4f62f00ca01045ec55987cd7c98410c77db03dfd.zip opensim-SC_OLD-4f62f00ca01045ec55987cd7c98410c77db03dfd.tar.gz opensim-SC_OLD-4f62f00ca01045ec55987cd7c98410c77db03dfd.tar.bz2 opensim-SC_OLD-4f62f00ca01045ec55987cd7c98410c77db03dfd.tar.xz |
Changing prim color generates event CHANGED_COLOR.
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index cf718cb..74b10c3 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3313,6 +3313,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3313 | texcolor.B = Util.Clip((float)color.Z, 0.0f, 1.0f); | 3313 | texcolor.B = Util.Clip((float)color.Z, 0.0f, 1.0f); |
3314 | tex.FaceTextures[face].RGBA = texcolor; | 3314 | tex.FaceTextures[face].RGBA = texcolor; |
3315 | UpdateTexture(tex); | 3315 | UpdateTexture(tex); |
3316 | TriggerScriptChangedEvent(Changed.COLOR); | ||
3316 | return; | 3317 | return; |
3317 | } | 3318 | } |
3318 | else if (face == ALL_SIDES) | 3319 | else if (face == ALL_SIDES) |
@@ -3334,6 +3335,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3334 | tex.DefaultTexture.RGBA = texcolor; | 3335 | tex.DefaultTexture.RGBA = texcolor; |
3335 | } | 3336 | } |
3336 | UpdateTexture(tex); | 3337 | UpdateTexture(tex); |
3338 | TriggerScriptChangedEvent(Changed.COLOR); | ||
3337 | return; | 3339 | return; |
3338 | } | 3340 | } |
3339 | } | 3341 | } |