From: vsr Date: Fri, 22 Feb 2019 07:47:53 +0000 (+0300) Subject: Porting to DEV version of OCCT: fix regression in GetInPlaceByHistory on result of... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2Focct_8.4.0_dev;p=modules%2Fgeom.git Porting to DEV version of OCCT: fix regression in GetInPlaceByHistory on result of Partition with compound argument --- diff --git a/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx b/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx index aa3db25ee..72fb5ff55 100644 --- a/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PartitionDriver.cxx @@ -48,6 +48,7 @@ #include #include #include +#include // 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);