mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030788: Modeling Algorithms - BRepAlgoAPI_Defeaturing does not propagate progress indicator to underlying algorithms
Added progress indicator to BRepAlgoAPI_Defeaturing
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <DBRep.hxx>
|
||||
#include <Draw.hxx>
|
||||
#include <Draw_ProgressIndicator.hxx>
|
||||
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Compound.hxx>
|
||||
@@ -98,9 +99,9 @@ Standard_Integer RemoveFeatures(Draw_Interpretor& theDI,
|
||||
}
|
||||
|
||||
aRF.SetToFillHistory(BRepTest_Objects::IsHistoryNeeded());
|
||||
|
||||
Handle(Draw_ProgressIndicator) aProgress = new Draw_ProgressIndicator(theDI, 1);
|
||||
// Perform the removal
|
||||
aRF.Build();
|
||||
aRF.Build(aProgress->Start());
|
||||
|
||||
// Check for the errors/warnings
|
||||
BOPTest::ReportAlerts(aRF.GetReport());
|
||||
|
Reference in New Issue
Block a user