Christian,
Indeed - the painting should only paint and not call any setters. Some LAFs (Substance among them) cheat in this department by playing with the component opacity during the painting (specifically for painting the watermarks), and such changes can result in infinite repaint loop if the application tracks changes to opacity and tries to revert them.
Off topic - Substance NB module (the latest 4.0RC drop) should not have performance hit like it used to a few weeks ago. I would appreciate if the users report any problems with this module even during the development cycle - if i don't know about them, i won't fix them.
Thanks, Kirill |