- reintroduced IFC openings to floors and ceilings. Were disabled for some unknown reasons, I hope I didn't break anything. Everything I tested works fine.

pull/474/head
ulf 2015-03-06 14:14:45 +01:00
parent 03a7f36858
commit 76c69205b1
1 changed files with 3 additions and 6 deletions

View File

@ -1184,16 +1184,13 @@ bool GenerateOpenings(std::vector<TempOpening>& openings,
profile_data = opening.profileMesh2D.get(); profile_data = opening.profileMesh2D.get();
is_2d_source = true; is_2d_source = true;
} }
else {
//continue;
}
} }
else { else {
// vertical extrusion // vertical extrusion
if (std::fabs(norm_extrusion_dir * nor) > 0.9) { if (std::fabs(norm_extrusion_dir * nor) > 0.9) {
continue; profile_data = opening.profileMesh2D.get();
} is_2d_source = true;
continue; }
} }
} }
std::vector<IfcVector3> profile_verts = profile_data->verts; std::vector<IfcVector3> profile_verts = profile_data->verts;