[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/blenkernel/intern
customdata.c blender/source/blender/python/api2_2x Mesh.c
Campbell Barton
cbarton at metavr.com
Thu Nov 23 09:04:01 CET 2006
Hi Brecht, at the moment Im getting this error popping up in various scripts
ValueError: face has no vertex colors
Im using Mesh not NMesh and the error is here
static PyObject *MFace_getCol( BPy_MFace * self )
{
PyObject *attr;
int length, i;
MCol * mcol;
/* if there's no mesh color vectors or texture faces, nothing to do */
if( !self->mesh->mcol )
return EXPP_ReturnPyObjError( PyExc_ValueError,
"face has no vertex colors" );
- Shouldnt per face colors still be supported?
Brecht Van Lommel wrote:
> blendix (Brecht Van Lommel) 2006/11/23 00:12:38 CET
>
> Modified files:
> blender/source/blender/blenkernel/intern customdata.c
> blender/source/blender/python/api2_2x Mesh.c
>
> Log:
> (Partial) fix for bug #5289:
>
> Crash using Shape Widget Wizard script, was an error in customdata copy.
> The script still throws a python error though, but that seems unrelated
> to this crash.
>
> Revision Changes Path
> 1.7 +5 -6 blender/source/blender/blenkernel/intern/customdata.c
> <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/customdata.c.diff?r1=1.6&r2=1.7&cvsroot=bf-blender>
> 1.98 +7 -4 blender/source/blender/python/api2_2x/Mesh.c
> <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Mesh.c.diff?r1=1.97&r2=1.98&cvsroot=bf-blender>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-committers
mailing list