diff options
Diffstat (limited to 'source/blender/blenlib/intern/scanfill.c')
-rw-r--r-- | source/blender/blenlib/intern/scanfill.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index 44a9ffa244d..b6a86b86188 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -721,11 +721,8 @@ static int scanfill(ScanFillContext *sf_ctx, PolyFill *pf, const int flag) /* we continue searching and pick the one with sharpest corner */ if (best_sc == NULL) { + /* even without holes we need to keep checking [#35861] */ best_sc = sc1; - /* only need to continue checking with holes */ - if ((flag & BLI_SCANFILL_CALC_HOLES) == 0) { - break; - } } else { float angle; |