Dirk Reiners wrote: > Hi Marcus, > > Marcus Lindblom wrote: > >> Hi, >> >> Currenly (1.8), if I change: >> * Image contents, I need to call TextureChunk->ImageContentChanged() >> * Image size, I need to call TextureChunk->setImage() >> >> However, GeoProperties register their Geometries as parents, and notify >> them when they have changed, avoiding both of these issues. >> >> A single usage pattern would simplify things. >> >> Is there a reason why this could not be implemented? Otherwise I'll >> enter a ticket. >> > > Hm, the Image does keep track of the parents, and it does inform them > about changes, so in theory the TC could react to the image changes > automatically. I'm not quite sure why it doesn't. > > You could take a look at it, but I would open a ticket anyway, to keep > track of it. > Ticket: http://opensg.vrsource.org/trac/ticket/201
I also tried doing it myself, using an MFTextureChunk field as attachment, but I couldn't get the attachment to work as I wanted. I failed to retrieve the attachment, even though I basically copied the SimpleNameAttachment line for line. I could try to use the Parents field instead. That'd definitely be easier. Cheers, /Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
