[Bf-committers] Review: Auto select active paint image, please review

Xavier Thomas xavier.thomas.1980 at gmail.com
Tue Jul 6 00:59:42 CEST 2010


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 <konrad at konradwilhelm.de>
>
> 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
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list