Edit Mesh: Correction to previous commit

The operation is based on faces, not vertices
This commit is contained in:
Thomas Beck 2018-04-20 10:22:05 +02:00
parent 0e5a4f927a
commit 801270f09d
1 changed files with 1 additions and 1 deletions

View File

@ -1486,7 +1486,7 @@ static int edbm_face_make_planar_exec(bContext *C, wmOperator *op)
{
Object *obedit = objects[ob_index];
BMEditMesh *em = BKE_editmesh_from_object(obedit);
if (em->bm->totvertsel == 0) {
if (em->bm->totfacesel == 0) {
continue;
}