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:
authorCampbell Barton <ideasman42@gmail.com>2014-02-13 04:47:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-13 04:48:46 +0400
commit108ad3442960ef6ead3015736b3de679146f7a8d (patch)
tree7bc45177392eaf5c97b43a463052e299ded7c500 /source/blender/blenlib/intern/scanfill.c
parent6ee9d1b69db0064abb03d74dbc365cf860a3c3d9 (diff)
Mask: option not to treat overlapping curves as holes
Diffstat (limited to 'source/blender/blenlib/intern/scanfill.c')
-rw-r--r--source/blender/blenlib/intern/scanfill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c
index ae0760eb30e..a1d48591cc8 100644
--- a/source/blender/blenlib/intern/scanfill.c
+++ b/source/blender/blenlib/intern/scanfill.c
@@ -1058,7 +1058,7 @@ unsigned int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const int flag, const
* the edgefill itself has good auto-hole detection)
* WATCH IT: ONLY WORKS WITH SORTED POLYS!!! */
- if (poly > 1) {
+ if ((flag & BLI_SCANFILL_CALC_HOLES) && (poly > 1)) {
unsigned short *polycache, *pc;
/* so, sort first */