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:
authorHoward Trickey <howard.trickey@gmail.com>2011-11-29 15:49:53 +0400
committerHoward Trickey <howard.trickey@gmail.com>2011-11-29 15:49:53 +0400
commit06ea86c0a8ce56a38547856a469cf6e6b84c0a3f (patch)
treebd850aec09769d8edd165365a8b3e77288e4030b /source/blender/blenlib/BLI_scanfill.h
parent5380545c9780c8aabf050f0bdd4a547f45d9794e (diff)
Allow scanfill caller to specify boundary edges and use to fix knifetool extra-face bug
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 fb8ad4780fd..6fd4766a6a0 100644
--- a/source/blender/blenlib/BLI_scanfill.h
+++ b/source/blender/blenlib/BLI_scanfill.h
@@ -52,6 +52,10 @@ extern "C" {
struct EditVert *BLI_addfillvert(float *vec);
struct EditEdge *BLI_addfilledge(struct EditVert *v1, struct EditVert *v2);
+/* Optionally set EditEdge f to this to mark original boundary edges.
+ Only needed if there are internal diagonal edges pased to BLI_edgefill. */
+#define FILLBOUNDARY 1
+
int BLI_begin_edgefill(void);
int BLI_edgefill(short mat_nr);
void BLI_end_edgefill(void);