]> OCCT Git - occt-copy.git/commitdiff
Fix compilation problem
authorvsr <vsr@opencascade.com>
Thu, 21 Feb 2019 10:37:34 +0000 (13:37 +0300)
committervsr <vsr@opencascade.com>
Thu, 21 Feb 2019 10:37:34 +0000 (13:37 +0300)
- Disable code introduced by fix for issue 28747, causing compilation failure

src/BRepTest/BRepTest_SweepCommands.cxx

index 88d4f60601e24861cf66b711b8ecba4107b4cad1..577156f1addc18da238a6185cc9fdd044327070c 100644 (file)
@@ -172,15 +172,6 @@ static Standard_Integer pipe(Draw_Interpretor& di,
 
   DBRep::Set(a[1],S);
   
-  // Save history of pipe
-  if (BRepTest_Objects::IsHistoryNeeded())
-  {
-    TopTools_ListOfShape aList;
-    aList.Append(Profile);
-    aList.Append(Spine);
-    BRepTest_Objects::SetHistory(aList, PipeBuilder);
-  }
-    
   return 0;
 }