Skip to content

Commit

Permalink
Merge branch 'FixAddLayerBug' into 'master'
Browse files Browse the repository at this point in the history
Fix 'AddLayer tool adds wrong elements leading to incorrect mesh'

See merge request ogs/ogs!4994
  • Loading branch information
endJunction committed May 4, 2024
2 parents 1d94a3d + 780a622 commit e216ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Applications/Utils/MeshEdit/AddLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int main(int argc, char* argv[])

INFO("Reading mesh '{:s}' ... ", mesh_arg.getValue());
auto subsfc_mesh = std::unique_ptr<MeshLib::Mesh>(
MeshLib::IO::readMeshFromFile(mesh_arg.getValue()));
MeshLib::IO::readMeshFromFile(mesh_arg.getValue(), true));
if (!subsfc_mesh)
{
ERR("Error reading mesh '{:s}'.", mesh_arg.getValue());
Expand Down

0 comments on commit e216ba2

Please sign in to comment.