[Bf-python] fix for a bug in Object.c
guignot
guignot at wanadoo.fr
Tue May 20 23:06:01 CEST 2003
Sorry, but I lost the message concerning this bug. I just remember that
the function getSelected in Object.c
returned all the objects of the scene, not the selected objects.
To fix this bug (line 290, the following lines :
blen_object->object = base_iter->object;
PyList_Append (list, (PyObject*)blen_object);
must be replaced by :
if(TESTBASELIB(base_iter)){
blen_object->object = base_iter->object;
PyList_Append (list, (PyObject*)blen_object);
}
(the macro TESTBASELIB is in blenderdefs.h)
See ya!
(MetaBalls... no feedback ??? )
More information about the Bf-python
mailing list