CHANGED TEXTURE

From Second Life Wiki
Constant: integer CHANGED_TEXTURE = 0x10;

The integer constant CHANGED_TEXTURE has the value 0x10

Prim texture parameters (shine/bump setting, repeats, flip, rotation, or offset) have changed.

Transparency or color changes trigger a CHANGED_COLOR event not a CHANGED_TEXTURE event.

Caveats

  • CHANGED_TEXTURE will not be raised if a texture is changed by script using functions like llSetTexture or llSetPrimitiveParams. This issue was corrected briefly in 2010 but the fix broke a widely-used vendor system, so the fix was reverted and the event is still not raised for script-driven texture changes as of late 2026.


Examples

default
{
    changed(integer change)
    {
        if (change & CHANGED_TEXTURE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prims texture or texture attributes have changed.");
        }
    }
}

Deep Notes

All Issues

~ Search Canny for related Issues
   CHANGED_TEXTURE is not triggered when texture is changed via script

Signature

integer CHANGED_TEXTURE = 0x10;