mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030697: Draw Harness - Draw_Printer should not be set to Message::DefaultMessenger() by default
Fixed bugs that occurred when using the default std::cout from Message::DefaultMessenger() instead of Draw_Printer A dedicated option was added to Draw_ProgressIndicator, for outputting data to the tcl when performing tests Added -tclOutput parameter to XProgress command
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <BOPTest.hxx>
|
||||
#include <BRepTest.hxx>
|
||||
#include <DBRep.hxx>
|
||||
#include <Draw.hxx>
|
||||
#include <Draw_Interpretor.hxx>
|
||||
#include <Draw_PluginMacro.hxx>
|
||||
#include <GeometryTest.hxx>
|
||||
@@ -136,7 +137,8 @@ void BOPTest::ReportAlerts(const Handle(Message_Report)& theReport)
|
||||
}
|
||||
|
||||
// output message with list of shapes
|
||||
Message::DefaultMessenger()->Send (aText, anAlertTypes[iGravity]);
|
||||
Draw_Interpretor& aDrawInterpretor = Draw::GetInterpretor();
|
||||
aDrawInterpretor << aText << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user