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-12 21:44:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-12 21:44:10 +0400
commit9a92cd80087d5d8158c6af27d2ae3d2da4856ef0 (patch)
tree9f7ebaeac7d2529e05136411855867a14e10feea /source/blender/bmesh/bmesh.h
parent9099e59da86b26c9d360b59dd5c8de769dfa0c4f (diff)
bmesh minor refactor
* add DM_to_bmesh_ex, DM_to_bmesh for converting a derived mesh to a BMesh (rather than a BMEditMesh) * have a generic variable for allocsize: bm_mesh_allocsize_default, rather than copying the values about.
Diffstat (limited to 'source/blender/bmesh/bmesh.h')
-rw-r--r--source/blender/bmesh/bmesh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h
index 34120ba655a..330e9c8da56 100644
--- a/source/blender/bmesh/bmesh.h
+++ b/source/blender/bmesh/bmesh.h
@@ -112,9 +112,10 @@ struct EditMesh;
void bmesh_error(void);
/* Mesh Level Ops */
+extern int bm_mesh_allocsize_default[4];
/* ob is needed by multires */
-BMesh *BM_mesh_create(struct Object *ob, int allocsize[4]);
+BMesh *BM_mesh_create(struct Object *ob, const int allocsize[4]);
BMesh *BM_mesh_copy(BMesh *bmold);
void BM_mesh_free(BMesh *bm);