Changing prim color generates event CHANGED_COLOR.
Signed-off-by: Melanie <melanie@t-data.com>prebuild-update
parent
3f942a4f74
commit
4f62f00ca0
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue