Hi,

The user interface for the operator is automatically generated, though
it's possible to create a custom one by creating a new ot->ui
callback, see image_save_as_draw for an example. This is only done in
a few places, because you'll need to manually add buttons for all
properties then.

Would this be another way to set the property "color"? This seems a
bit strange to me since you can already change it quite easily, but
maybe it is an operation you do often?

Brecht.

On Mon, Feb 27, 2012 at 12:20 PM, Fabio Russo <[email protected]> wrote:
>
> Hello all,
> anyone can help me, I have a question about IMAGE_OT_new.
> I wanted to add the ability to choose the background: white, transparent or 
> RGB.
> code: http://www.pasteall.org/29527/c
> how can I change the UI according to the choice of the background, in 
> IMAGE_OT_new?
> Tthanks in advance,
>
> Fabio Russo (ruesp83)
>
> P.S.: Sorry for my english!!
> _______________________________________________
> 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

Reply via email to