Blender Git Loki

Git Commits -> Revision 82055c8

Revision 82055c8 by Brecht Van Lommel (master)
July 1, 2009, 12:19 (GMT)
RNA

* Mesh.add_geometry, Mesh.update and make indices editable. This
is without checking if they are valid still, no time now to
implement this.
* Also fix warnings in rna_ui.c, and a bug in CDDM_calc_edges.

Example code:

co = [0.0, 0.0, 0.0] + [1.0, 0.0, 0.0] + [0.0, 1.0, 0.0] + [1.0, 1.0, 0.0]
faces = [0, 1, 2, 0] + [1, 3, 2, 0]

mesh.add_geometry(4, 0, 2)

mesh.verts.foreach_set("co", co)
mesh.faces.foreach_set("verts", faces)

mesh.update()

Commit Details:

Full Hash: 82055c82170885249bf922b05a5c7a3186c07c71
SVN Revision: 21283
Parent Commit: 0fabb20
Lines Changed: +186, -54

4 Modified Paths:

/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+2, -3) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+175, -42) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+8, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021