Changing prim color generates event CHANGED_COLOR.

Signed-off-by: Melanie <melanie@t-data.com>
This commit is contained in:
Marck
2010-08-09 23:46:30 +02:00
committed by Melanie
parent 3f942a4f74
commit 4f62f00ca0

View File

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