From 1798e4a8877f96d3c9a65d8194f384fb726551ff Mon Sep 17 00:00:00 2001
From: Laurent Knoll <laurent.knoll@orange.com>
Date: Sun, 25 Sep 2022 23:01:08 +0200
Subject: [PATCH] Debug mode : fermeture du contour convexe

---
 src/instruments/blobMask.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/instruments/blobMask.ts b/src/instruments/blobMask.ts
index 6bd4d96..2802750 100644
--- a/src/instruments/blobMask.ts
+++ b/src/instruments/blobMask.ts
@@ -64,6 +64,7 @@ export class BlobMask extends AbstractInstrument<PathCoords> implements Instrume
             convexHull.strokeColor = new paper.Color("red");
             convexHull.strokeWidth = PaperUtils.absoluteDimension(2);
             convexHull.dashArray = [10, 12];
+            convexHull.closed = true;
             this.drawGroup.addChild(convexHull);
         }
 
-- 
GitLab