diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-03 19:54:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-03 19:57:27 +0400 |
commit | 8b1731e13dcd0d9ef98520f62fe0c841218bfd00 (patch) | |
tree | 1899a18819fc8741b46f9bfe1043d8bbd4db89ac /source/blender/blenlib/BLI_scanfill.h | |
parent | 3314165a668b46f5a0863d99a3f5b2bc602a41ff (diff) |
Scanfill: skip checks for loose edges when they can't occur
Only editmesh needs this, text, curves, masks - can all skip this check
Diffstat (limited to 'source/blender/blenlib/BLI_scanfill.h')
-rw-r--r-- | source/blender/blenlib/BLI_scanfill.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_scanfill.h b/source/blender/blenlib/BLI_scanfill.h index 52f5decb4f4..3caa69f91c6 100644 --- a/source/blender/blenlib/BLI_scanfill.h +++ b/source/blender/blenlib/BLI_scanfill.h @@ -98,7 +98,10 @@ enum { /* note: This flag removes checks for overlapping polygons. * when this flag is set, we'll never get back more faces then (totvert - 2) */ - BLI_SCANFILL_CALC_HOLES = (1 << 2) + BLI_SCANFILL_CALC_HOLES = (1 << 2), + + /* checks valid edge users - can skip for simple loops */ + BLI_SCANFILL_CALC_LOOSE = (1 << 3), }; void BLI_scanfill_begin(ScanFillContext *sf_ctx); unsigned int BLI_scanfill_calc(ScanFillContext *sf_ctx, const int flag); |