commit 00846432256ad3de7d00eec79731c4059aa76ace
parent 5f4df8ebe7281f46d3d670f65d5bf44c37fecee9
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Wed, 18 Jan 2023 10:46:27 +0100
Revert "Temporary bugfix to deal with bug from star-cpr for zero-offset"
This reverts commit bf1c00320453de66497f03ef6a8dbad963b9c455.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/cg_construction_mode_1.c b/src/cg_construction_mode_1.c
@@ -120,8 +120,7 @@ build_wall
offset = e_insulation;
ERR(scpr_polygon_create_copy(NULL, pg, &pg_ext));
- /* TODO : temporary bugfix to deal with zero-offset*/
- if (offset != 0) {ERR(scpr_offset_polygon(pg_ext, -offset, SCPR_JOIN_MITER));}
+ ERR(scpr_offset_polygon(pg_ext, -offset, SCPR_JOIN_MITER));
offset = e_wall + e_insulation;
ERR(scpr_polygon_create_copy(NULL, pg, &pg_int));