diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-13 13:57:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-13 13:57:19 +0400 |
commit | 6254cc1c70b06acd60131b9ae3b0993e258e4e33 (patch) | |
tree | 0e818c5cc59d174e21e1142b20021a1784f9ef41 /source/blender/blenkernel/BKE_bmesh.h | |
parent | 143a654e6f5fdb1eca80b9b70f4a1470ed687551 (diff) |
2 new bevel options for the operator and the modifier.
* even offset, uses same shell distance method as solidify to give even with beveled faces.
* distance offset, this is mostly for compatibility with the modifier in trunk which uses the bevel width as a distance rather then a percentage. at the moment this is awkward for the operator since it makes percent act differently where the 0-1 range doesnt make sense.
still need to bring back more options from trunks bevel modifier.
Diffstat (limited to 'source/blender/blenkernel/BKE_bmesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_bmesh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_bmesh.h b/source/blender/blenkernel/BKE_bmesh.h index c23944d9590..85ecaf0bb27 100644 --- a/source/blender/blenkernel/BKE_bmesh.h +++ b/source/blender/blenkernel/BKE_bmesh.h @@ -209,6 +209,10 @@ int BME_loop_reverse(struct BME_Mesh *bm, struct BME_Poly *f); #define BME_BEVEL_RUNNING (1<<9) #define BME_BEVEL_RES (1<<10) +#define BME_BEVEL_EVEN (1<<11) /* this is a new setting not related to old (trunk bmesh bevel code) but adding + * here because they are mixed - campbell */ +#define BME_BEVEL_DIST (1<<12) /* same as above */ + typedef struct BME_TransData { BME_Mesh *bm; /* the bmesh the vert belongs to */ BME_Vert *v; /* pointer to the vert this tdata applies to */ |