diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 06:45:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 06:45:27 +0400 |
commit | 21fd09c028dce833f58cdaa8a1ff45876a5e5a2f (patch) | |
tree | cf5f7b60f9abc253cc7fb811ab05ab2782d3144d /source/blender/python/bmesh/bmesh_py_types.h | |
parent | 0c50bedd9c960763d3e8e695b63957a964565be0 (diff) |
bmesh py api: change .from_mesh() / .to_mesh() to be class methods of BMesh rather than functions in the module.
added example script which converts a mesh to a bmesh, edits and converts back again.
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types.h')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.h b/source/blender/python/bmesh/bmesh_py_types.h index 52a82c50dd1..88569c5eeaf 100644 --- a/source/blender/python/bmesh/bmesh_py_types.h +++ b/source/blender/python/bmesh/bmesh_py_types.h @@ -62,7 +62,7 @@ typedef struct BPy_BMElem { typedef struct BPy_BMesh { PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ - char py_owns; + char py_owns; /* when set, free along with the PyObject */ } BPy_BMesh; /* element types */ |