[sldev] Updating inventory item icon

Zi Ree tinacloud at gmx.de
Thu Sep 25 11:00:22 PDT 2008


Hi Developers!

I am working on a patch that makes Landmarks behave as intended, i.e. turning 
to "Visited" state once you have been there. The patch itself works already, 
but the icon is not updated in real time. Opening a second inventory window 
shows the new state of the landmark.

What do I have to do in order to change the icon of an existing inventory 
entry? The source code says, the inventory observer must be notified, and 
this is done in the original code. However, it doesn't work.

(You can see the code in LLTracker::setLandmarkVisited(), near the end of the 
function.)

Any hints?
Thanks for your time!

Zi!


More information about the SLDev mailing list