Depending on the situation, you can also receive updates via RNA callbacks (that'll at least notify you when a value is updated in the UI.)
-Nicholas On Mon, Jul 5, 2010 at 6:59 PM, Xavier Thomas <[email protected]> wrote: > Hi, > > To allow different operating mode to different uv/image editor, you > can add the IMAGEPAINT_AUTO_SELECT_IMAGE to sima (SpaceImage) instead > of the tool settings. > > To be notified of "active texture changes" (both implicit or explicit) > I thing it can be done in the image space listener function, but you > might need to add some notifiers and/or to modify notifiers of some > operators. > > To display the active texture if no UV/image editor is open there is > still the texture preview in the properties panels. > > I Hope it helped even if it seems simplistic. > > Xavier > > 2010/7/5 Konrad Wilhelm Kleine <[email protected]> >> >> Hi all, >> >> since my development efforts lately went slightly into a wrong direction >> I've listened to Matt's advice and have written this little document: >> >> http://wiki.blender.org/index.php/User:Kwk/Gsoc2010/AutoSelectPaintImage >> >> If there are any developers here, that can help me understand how to >> write a hook that is called when another texture in the active >> material's texture slot is selected, I would really appreciate any review. >> >> Comments and critics in general are welcome! >> >> -Konrad >> _______________________________________________ >> Bf-committers mailing list >> [email protected] >> http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
