Blender Git Loki

Git Commits -> Revision 92c4714

Revision 92c4714 by Campbell Barton (master)
February 22, 2012, 16:08 (GMT)
bmesh python api change in internal behavior.

* Only have 1 python object per bmesh, vertex, edge, loop, face.
* Store pointers back to the python data in a custom data layer so as not to use more memory for normal editing operations (when pythons not running).
* Currently this data is created and freed along with the BMesh PyObject.
* Incidentally - this fixes comparisons for bmesh elements which wasnt working before.

Commit Details:

Full Hash: 92c47145fde8449cd7fb0547d29dbf9491b40d97
SVN Revision: 44332
Parent Commit: b06beb6
Lines Changed: +177, -27

4 Modified Paths:

/source/blender/blenkernel/intern/customdata.c (+31, -0) (Diff)
/source/blender/bmesh/bmesh_class.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+4, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+140, -24) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021