Skip to content

Commit

Permalink
Merge pull request #1594 from mwestphal/fix_log_multifile
Browse files Browse the repository at this point in the history
Log: Remove a log when using group-geometries
  • Loading branch information
mwestphal authored Aug 28, 2024
2 parents adf81c5 + 092282a commit 8c5267d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/F3DStarter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ int F3DStarter::Start(int argc, char** argv)
f3d::log::info("Image comparison success with an error difference of: ", error);
}

if (this->Internals->FilesList.size() > 1)
if (this->Internals->FilesList.size() > 1 && !this->Internals->AppOptions.GroupGeometries)
{
f3d::log::warn("Image comparison was performed using a single 3D file, other provided "
"3D files were ignored.");
Expand Down Expand Up @@ -692,7 +692,7 @@ int F3DStarter::Start(int argc, char** argv)
f3d::log::debug("Output image saved to ", path);
}

if (this->Internals->FilesList.size() > 1)
if (this->Internals->FilesList.size() > 1 && !this->Internals->AppOptions.GroupGeometries)
{
f3d::log::warn("An output image was saved using a single 3D file, other provided 3D "
"files were ignored.");
Expand Down

0 comments on commit 8c5267d

Please sign in to comment.