Blender Git Loki

Git Commits -> Revision 50bce31

Revision 50bce31 by Campbell Barton (master)
August 26, 2010, 22:44 (GMT)
rna api changes
- mesh.add_geometry(v, e, f) --> mesh.vertices.add(tot), mesh.edges.add(tot), mesh.faces.add(tot)
- mesh.add_material(mat) --> mesh.materials.link(mat)

changed material.link so it always adds a material even if it exists in the list, this behavior is good for users but not scripts since it can mess up indicies (some formats may have the same material set twice).

Commit Details:

Full Hash: 50bce31dbbf727cef0746a16bb5a669c30b21628
SVN Revision: 31597
Parent Commit: 9089b68
Lines Changed: +140, -44

10 Modified Paths:

/release/scripts/io/import_scene_3ds.py (+6, -4) (Diff)
/release/scripts/io/import_scene_obj.py (+4, -3) (Diff)
/release/scripts/modules/bpy_types.py (+8, -3) (Diff)
/release/scripts/op/add_mesh_torus.py (+3, -1) (Diff)
/release/scripts/op/object.py (+4, -2) (Diff)
/source/blender/editors/include/ED_mesh.h (+5, -2) (Diff)
/source/blender/editors/mesh/mesh_data.c (+35, -7) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+72, -5) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+0, -16) (Diff)
/source/blender/python/intern/bpy_rna.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021