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:
Diffstat (limited to 'source/blender/blenlib/BLI_scanfill.h')
-rw-r--r--source/blender/blenlib/BLI_scanfill.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_scanfill.h b/source/blender/blenlib/BLI_scanfill.h
index bb91b747223..d77640ea187 100644
--- a/source/blender/blenlib/BLI_scanfill.h
+++ b/source/blender/blenlib/BLI_scanfill.h
@@ -46,6 +46,10 @@ typedef struct ScanFillContext {
ListBase filledgebase;
ListBase fillfacebase;
+ /* increment this value before adding each curve to skip having to calculate
+ * 'poly_nr' for edges and verts (which can take approx half scanfill time) */
+ unsigned short poly_nr;
+
/* private */
struct ScanFillVertLink *_scdata;
struct MemArena *arena;