[Bf-python] Object module things

Willian Padovani Germano wgermano at ig.com.br
Tue May 27 04:26:42 CEST 2003


On Fri, 2003-05-23 at 16:59, Michel Selten wrote:
> > > * getDrawMode
> > A list of strings makes much more sense to a script writer.
> I just asked on #blenderchat. The users there wanted to have it return
> an integer. So I'm going to keep that for now.

You're right, I didn't think about my answer, sorry.  Script writers can
check with dict flags from the .Modes dict, so an int is better for
them.  We'll see these things later, but an int for modes is probably
the way the API should handle it.

--
Willian, wgermano at ig.com.br




More information about the Bf-python mailing list