]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Porting to DEV version of OCCT: fix regression in GetInPlaceByHistory on result of... rnv/occt_8.4.0_dev
authorvsr <vsr@opencascade.com>
Fri, 22 Feb 2019 07:47:53 +0000 (10:47 +0300)
committervsr <vsr@opencascade.com>
Fri, 22 Feb 2019 07:47:53 +0000 (10:47 +0300)
src/GEOMImpl/GEOMImpl_PartitionDriver.cxx

index aa3db25ee63d007d8904342dc00b08b0a91a40b6..72fb5ff55462ade97cb0c8fff9c79c00eb981495 100644 (file)
@@ -48,6 +48,7 @@
 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
 #include <TopTools_ListOfShape.hxx>
 #include <BOPDS_DS.hxx>
+#include <BRepTools_History.hxx>
 
 // Depth of self-intersection check (see BOPAlgo_CheckerSI::SetLevelOfCheck() for more details)
 // Default value for BOPAlgo_CheckerSI gives very long computation when checking face-to-face intersections;
@@ -463,6 +464,9 @@ Standard_Integer GEOMImpl_PartitionDriver::Execute(Handle(TFunction_Logbook)& lo
 
     for (Standard_Integer ie = 1; ie <= nbArgumentEntities; ie++) {
       TopoDS_Shape anEntity = anArgumentIndices.FindKey(ie);
+      if (!BRepTools_History::IsSupportedType(anEntity))
+        continue;
+
       // be sure to use aCopyMap here
       if (aCopyMap.IsBound(anEntity))
         anEntity = aCopyMap.Find(anEntity);