[Bf-python] bug in Camera.c

Willian Padovani Germano wgermano at ig.com.br
Sat Jun 7 02:15:15 CEST 2003


On Fri, 2003-06-06 at 20:02, Jacques Guignot wrote:
> There is a bug in Camera.c :
> 
> the line 565 must be removed.
> 
> Some files have used Camera.[c.h]  as  a template.
> They should be updated.

Sorry, I don't get it ??

line 565 in Camera.c is:

564:  if (value >= 0 && value <= 3)
565:    self->camera->flag = value;  <---- THIS LINE -----||||
566:  else
567:    return (EXPP_ReturnPyObjError (PyExc_ValueError,
                                     "expected int argument in [0,3]"));

Which looks fine.  Remove it?  Could you be more specific?

--
Willian, wgermano at ig.com.br




More information about the Bf-python mailing list