diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-07 08:42:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-07 08:42:47 +0400 |
commit | 0b6412607fb663ede08d2be9a926293331e03611 (patch) | |
tree | adb16a5a68caec278dba3131dcbc65691c9b699a /source/blender/blenlib/intern/scanfill.c | |
parent | e13d6e2768995885620ad86c25569667a6077373 (diff) |
Comments
Diffstat (limited to 'source/blender/blenlib/intern/scanfill.c')
-rw-r--r-- | source/blender/blenlib/intern/scanfill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index 05e4984d9a3..3d3dfeef302 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -865,6 +865,9 @@ unsigned int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const int flag, const /* Newell's Method */ /* Similar code used elsewhere, but this checks for double ups * which historically this function supports so better not change */ + + /* warning: this only gives stable direction with single polygons, + * ideally we'd calcualte connectivity and calculate each polys normal, see T41047 */ const float *v_prev; zero_v3(n); |