diff options
Diffstat (limited to 'source/blender/editors/transform/transform_convert_paintcurve.c')
-rw-r--r-- | source/blender/editors/transform/transform_convert_paintcurve.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source/blender/editors/transform/transform_convert_paintcurve.c b/source/blender/editors/transform/transform_convert_paintcurve.c index 4dbe57fc143..47859896673 100644 --- a/source/blender/editors/transform/transform_convert_paintcurve.c +++ b/source/blender/editors/transform/transform_convert_paintcurve.c @@ -154,13 +154,11 @@ void createTransPaintCurveVerts(bContext *C, TransInfo *t) total += 3; continue; } - else { - if (pcp->bez.f1 & SELECT) { - total++; - } - if (pcp->bez.f3 & SELECT) { - total++; - } + if (pcp->bez.f1 & SELECT) { + total++; + } + if (pcp->bez.f3 & SELECT) { + total++; } } } |