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:
authorDalai Felinto <dfelinto@gmail.com>2018-05-16 13:26:26 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-05-16 13:26:32 +0300
commit807afedf6cceac747f79a661debaed7f18314212 (patch)
tree8f3b9fefbf2d24e48a6e8cb81884c3e349a3b2ce /source/blender/editors/mesh/editmesh_intersect.c
parentdffd37877d17a5d3ce702c50e1559cfc7e13175b (diff)
Fix check for MESH_OT_intersect
Diffstat (limited to 'source/blender/editors/mesh/editmesh_intersect.c')
-rw-r--r--source/blender/editors/mesh/editmesh_intersect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_intersect.c b/source/blender/editors/mesh/editmesh_intersect.c
index 44b62243a9e..ade70e11e32 100644
--- a/source/blender/editors/mesh/editmesh_intersect.c
+++ b/source/blender/editors/mesh/editmesh_intersect.c
@@ -192,7 +192,7 @@ static int edbm_intersect_exec(bContext *C, wmOperator *op)
Object *obedit = objects[ob_index];
BMEditMesh *em = BKE_editmesh_from_object(obedit);
- if (em->bm->totvert == 0) {
+ if (em->bm->totfacesel == 0) {
continue;
}