diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-08 06:14:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-08 06:14:58 +0400 |
commit | 45669ebbc6fab86e1576378b75298116009a2318 (patch) | |
tree | 1f96edbf5b1784d83814d700e45a738dadef51f7 /source/blender/editors/mesh/editmesh_bevel.c | |
parent | 68239cb098837762f41889f6a8069c564cabb576 (diff) |
inset and bevel could both be activated when there was no selection.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bevel.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c index fb2c7812c12..d061f5fbcc8 100644 --- a/source/blender/editors/mesh/editmesh_bevel.c +++ b/source/blender/editors/mesh/editmesh_bevel.c @@ -97,7 +97,7 @@ static int edbm_bevel_init(bContext *C, wmOperator *op, const bool is_modal) BMEditMesh *em = BMEdit_FromObject(obedit); BevelData *opdata; - if (em == NULL) { + if (em->bm->totvertsel == 0) { return 0; } |