Skip to content

Commit

Permalink
Remove unnecessary throw
Browse files Browse the repository at this point in the history
  • Loading branch information
deltakosh committed Nov 11, 2024
1 parent e10aaeb commit 0e7e396
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/dev/core/src/Meshes/csg2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,6 @@ export class CSG2 implements IDisposable {
throw new Error("Error while creating the CSG: " + e.message);
}

if (returnValue._manifold.genus() < 0) {
throw new Error("Incorrect volume detected. Make sure you are not using a double sided geometry");
}

return returnValue;
}

Expand Down

0 comments on commit 0e7e396

Please sign in to comment.