[Bf-python] Materials bug in convert_NMeshToMesh

Gilbert, Joseph jgilbert at tigr.org
Thu Jan 15 18:14:42 CET 2004

-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]
On Behalf Of Willian Padovani Germano
Sent: Thursday, January 15, 2004 12:03 AM
To: bf-python at blender.org
Subject: Re: [Bf-python] Materials bug in convert_NMeshToMesh

Hi Joseph,

> To update the materials
> when you link to an object:
> static int convert_NMeshToMesh (Mesh *mesh, BPy_NMesh *nmesh)
> {
> .......
> if(nmesh->materials){
> mesh->mat = EXPP_newMaterialList_fromPyList (nmesh->materials);
> }
> ........
> }
> Is this o.k. to patch?:

Sure.  Commit, I'll help test it.

BTW: I've been busy with the bpython menus stuff, but now it's mostly
done, so I can again participate more here : ).  Got phone line trouble
and couldn't connect from Saturday to Tuesday, too (good for coding, as
Ton said).

After I get confirmation that things are working, I'll email this list
and post at the forums about the new changes for scripts.  All really
minor, nothing broke, but it's pretty nice to see them on menus and
specially updating Blender menus without having to recompile Blender
: ).

Willian, wgermano at ig.com.br

Bf-python mailing list
Bf-python at blender.org

More information about the Bf-python mailing list