Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-24 09:56:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-24 09:56:06 +0400
commit6b85b96952becb00c6ad1ec185a9ac229a3ea344 (patch)
treeebad6e50b1fef40754df90a0590153155273b4cf /source/blender/bmesh/bmesh.h
parentb9b0c3dfb44e929b4b9f7181e8ee16ea7cff8deb (diff)
bmesh py api (some api changes and doc additions)
* remove 'select' and 'hide' from BMLoop * remove BMesh.update * add BMesh.normal_update(skip_hidden=False) * add BMElemSet.index_update(), eg: bm.verts.index_update() bmesh api * BM_mesh_normals_update() now takes skip_hidden as an argument (previously this was default behavior), however this isnt good when using BMesh modifiers, where you want all normals to be recalculated. * add bm_iter_itype_htype_map[], to get the iter type from a BMesh iterator.
Diffstat (limited to 'source/blender/bmesh/bmesh.h')
-rw-r--r--source/blender/bmesh/bmesh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h
index 4535e7b8c58..dab70ac35bf 100644
--- a/source/blender/bmesh/bmesh.h
+++ b/source/blender/bmesh/bmesh.h
@@ -123,7 +123,7 @@ void BM_mesh_free(BMesh *bm);
/* frees mesh, but not actual BMesh struct */
void BM_mesh_data_free(BMesh *bm);
-void BM_mesh_normals_update(BMesh *bm);
+void BM_mesh_normals_update(BMesh *bm, const short skip_hidden);
/* Construction */
BMVert *BM_vert_create(BMesh *bm, const float co[3], const BMVert *example);