We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 947cb97 commit 57d8576Copy full SHA for 57d8576
src/factory/Bodies.js
@@ -258,7 +258,7 @@ var Vector = require('../geometry/Vector');
258
decomp.makeCCW(concave);
259
if (removeCollinear !== false)
260
decomp.removeCollinearPoints(concave, removeCollinear);
261
- if (removeDuplicatePoints !== false)
+ if (removeDuplicatePoints !== false && decomp.removeDuplicatePoints)
262
decomp.removeDuplicatePoints(concave, removeDuplicatePoints);
263
264
// use the quick decomposition algorithm (Bayazit)
0 commit comments