Browse Source

Merge pull request #3603 from assimp/kimkulling-remove_redundancy

Remove redundant statement in if
Kim Kulling 4 năm trước cách đây
mục cha
commit
28c9bccbef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code/AssetLib/IFC/IFCGeometry.cpp

+ 1 - 1
code/AssetLib/IFC/IFCGeometry.cpp

@@ -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");
     }