Merge pull request #3603 from assimp/kimkulling-remove_redundancy

Remove redundant statement in if
This commit is contained in:
Kim Kulling
2021-01-22 14:36:59 +01:00
committed by GitHub
+1 -1
View File
@@ -656,7 +656,7 @@ void ProcessExtrudedArea(const Schema_2x3::IfcExtrudedAreaSolid& solid, const Te
}
}
if( openings && ((sides_with_openings == 1 && sides_with_openings) || (sides_with_v_openings == 2 && sides_with_v_openings)) ) {
if( openings && (sides_with_openings == 1 || sides_with_v_openings == 2 ) ) {
IFCImporter::LogWarn("failed to resolve all openings, presumably their topology is not supported by Assimp");
}