0023038: EDF GEOM Regression: SIGSEGV error with MakePipeWithDifferentSections

This commit is contained in:
skv 2015-04-10 17:00:08 +03:00
parent d620d57a86
commit b9261bf9d5

View File

@ -2944,7 +2944,8 @@ Standard_Integer GEOMImpl_PipeDriver::Execute (TFunction_Logbook& log) const
}
}
TopoDS_Shape aShape;
TopoDS_Shape aShape;
const Standard_Boolean isGenerateGroups = aCI->GetGenerateGroups();
if (aType == PIPE_BASE_PATH) {
Handle(GEOM_Function) aRefBase = aCI->GetBase();
@ -3031,7 +3032,6 @@ Standard_Integer GEOMImpl_PipeDriver::Execute (TFunction_Logbook& log) const
Handle(TColStd_HSequenceOfTransient) aLocObjs = aCIDS->GetLocations ();
Standard_Boolean aWithContact = (aCIDS->GetWithContactMode());
Standard_Boolean aWithCorrect = (aCIDS->GetWithCorrectionMode());
Standard_Boolean isGenerateGroups = aCIDS->GetGenerateGroups();
if (aCI) {
delete aCI;
@ -3104,8 +3104,6 @@ Standard_Integer GEOMImpl_PipeDriver::Execute (TFunction_Logbook& log) const
aShape = CreatePipeBiNormalAlongVector(aWirePath, aCI);
}
const Standard_Boolean isGenerateGroups = aCI->GetGenerateGroups();
if (aCI) {
delete aCI;
aCI = 0;