NPAL 19577 GetInPlace on compound does not work with Edge

This commit is contained in:
dmv 2008-04-17 13:07:42 +00:00
parent 8c758e2946
commit 30b87226c8

View File

@ -2952,6 +2952,11 @@ Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlace (Handle(GEOM_Object)
if ( fabs( aWhat_Mass - aWhere_Mass ) <= Tol_Mass ) break; if ( fabs( aWhat_Mass - aWhere_Mass ) <= Tol_Mass ) break;
} }
if (aModifiedList.Extent() == 0) { // Not found any Results
SetErrorCode(NOT_FOUND_ANY);
return NULL;
}
aModifiedArray = new TColStd_HArray1OfInteger (1, aModifiedList.Extent()); aModifiedArray = new TColStd_HArray1OfInteger (1, aModifiedList.Extent());
TColStd_ListIteratorOfListOfInteger anIterModif (aModifiedList); TColStd_ListIteratorOfListOfInteger anIterModif (aModifiedList);
for (Standard_Integer imod = 1; anIterModif.More(); anIterModif.Next(), imod++) for (Standard_Integer imod = 1; anIterModif.More(); anIterModif.Next(), imod++)