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>2013-04-08 06:14:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-08 06:14:58 +0400
commit45669ebbc6fab86e1576378b75298116009a2318 (patch)
tree1f96edbf5b1784d83814d700e45a738dadef51f7 /source/blender/editors/mesh/editmesh_bevel.c
parent68239cb098837762f41889f6a8069c564cabb576 (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.c2
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;
}