Changing prim color generates event CHANGED_COLOR.

Signed-off-by: Melanie <melanie@t-data.com>
prebuild-update
Marck 2010-08-09 23:46:30 +02:00 committed by Melanie
parent 3f942a4f74
commit 4f62f00ca0
1 changed files with 2 additions and 0 deletions

View File

@ -3313,6 +3313,7 @@ namespace OpenSim.Region.Framework.Scenes
texcolor.B = Util.Clip((float)color.Z, 0.0f, 1.0f); texcolor.B = Util.Clip((float)color.Z, 0.0f, 1.0f);
tex.FaceTextures[face].RGBA = texcolor; tex.FaceTextures[face].RGBA = texcolor;
UpdateTexture(tex); UpdateTexture(tex);
TriggerScriptChangedEvent(Changed.COLOR);
return; return;
} }
else if (face == ALL_SIDES) else if (face == ALL_SIDES)
@ -3334,6 +3335,7 @@ namespace OpenSim.Region.Framework.Scenes
tex.DefaultTexture.RGBA = texcolor; tex.DefaultTexture.RGBA = texcolor;
} }
UpdateTexture(tex); UpdateTexture(tex);
TriggerScriptChangedEvent(Changed.COLOR);
return; return;
} }
} }