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-04-18 20:27:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-18 20:27:11 +0400
commit486bf16af55eeddebc68339650d3c31b203b4644 (patch)
tree6e68c88998b5019b42016771f806ed13e957a884 /source/blender/editors/mesh/editmesh_bvh.h
parent40e3ae64787b140384b13797d8f8504861c6ef9f (diff)
bmesh knife tool:
- only cut selected geometry. - exclude hidden geometry from snapping.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bvh.h')
-rw-r--r--source/blender/editors/mesh/editmesh_bvh.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_bvh.h b/source/blender/editors/mesh/editmesh_bvh.h
index c8baa804205..2b0a7cc02dd 100644
--- a/source/blender/editors/mesh/editmesh_bvh.h
+++ b/source/blender/editors/mesh/editmesh_bvh.h
@@ -60,8 +60,11 @@ int BMBVH_EdgeVisible(struct BMBVHTree *tree, struct BMEdge *e,
/*find a vert closest to co in a sphere of radius maxdist*/
struct BMVert *BMBVH_FindClosestVert(struct BMBVHTree *tree, float *co, float maxdist);
-/*BMBVH_NewBVH flag parameter*/
-#define BMBVH_USE_CAGE 1 /*project geometry onto modifier cage */
-#define BMBVH_RETURN_ORIG 2 /*use with BMBVH_USE_CAGE, returns hits in relation to original geometry*/
+/* BMBVH_NewBVH flag parameter */
+enum {
+ BMBVH_USE_CAGE = 1, /* project geometry onto modifier cage */
+ BMBVH_RETURN_ORIG = 2, /* use with BMBVH_USE_CAGE, returns hits in relation to original geometry */
+ BMBVH_RESPECT_HIDDEN = 4
+};
#endif /* __EDITBMESH_BVH_H__ */