commit eb5fe8f2455c41328b7d37c2727962060468b4a8
parent f7b403795a2cab2c97f198c9654ad0a28a3e55a4
Author: Benjamin Piaud <benjamin.piaud@meso-star.com>
Date: Tue, 17 Jan 2023 10:49:58 +0100
Minor bugfix in fake_ground of mode_1
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/cg_constructive_mode_1.c b/src/cg_constructive_mode_1.c
@@ -1208,9 +1208,6 @@ building_ground_connection
if (cad->crawlspace_cavity) {
ERR(darray_geometries_push_back(&array, &cad->crawlspace_cavity));
}
- if (cad->attic_cavity) {
- ERR(darray_geometries_push_back(&array, &cad->attic_cavity));
- }
if (cad->floor) {
ERR(darray_geometries_push_back(&array, &cad->floor));
}
@@ -1408,7 +1405,7 @@ build_cad_cmode_1
/* fake ground */
depth = MMAX(data->foundation_depth,
data->floor_thickness + data->floor_insulation_thickness + data->crawl_height);
- ERR(build_fake_ground(allocator, data_cad, pg, data->foundation_depth,
+ ERR(build_fake_ground(allocator, data_cad, pg, depth,
&data_cad->fake_ground));
ERR(scad_scene_partition());