Skip to content

Commit

Permalink
[Gui] Part TaskCheckGeometry change Error to Log..
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Syres916 authored and wwmayer committed May 28, 2020
1 parent 2415f18 commit 25ea264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Part/Gui/TaskCheckGeometry.cpp
Expand Up @@ -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()
Expand Down Expand Up @@ -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)"
Expand Down

0 comments on commit 25ea264

Please sign in to comment.