From 25ea264cdabfa72dbae464266ba600e86611a1e0 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Wed, 27 May 2020 11:01:38 +0100 Subject: [PATCH] [Gui] Part TaskCheckGeometry change Error to Log.. for faulty geometry output, The user can still see all the error output in the task panel but by default they will see nothing in the Report View as Log is not Enabled for new users. See discussion https://forum.freecadweb.org/viewtopic.php?f=15&t=46803#p402533 --- src/Mod/Part/Gui/TaskCheckGeometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index 3d5de5e679..ad84da3252 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -704,7 +704,7 @@ BOPCheck.Perform(); /*log BOPCheck errors to report view*/ if (logErrors){ - std::cerr << faultyEntry->parent->name.toStdString().c_str() << " : " + std::clog << faultyEntry->parent->name.toStdString().c_str() << " : " << faultyEntry->name.toStdString().c_str() << " : " << faultyEntry->type.toStdString().c_str() << " : " << faultyEntry->error.toStdString().c_str() @@ -737,7 +737,7 @@ void TaskCheckGeometryResults::dispatchError(ResultEntry *entry, const BRepCheck /*log BRepCheck errors to report view*/ if (logErrors){ - std::cerr << entry->parent->name.toStdString().c_str() << " : " + std::clog << entry->parent->name.toStdString().c_str() << " : " << entry->name.toStdString().c_str() << " : " << entry->type.toStdString().c_str() << " : " << entry->error.toStdString().c_str() << " (BRepCheck)"