diff --git a/mdal/frmts/mdal_xmdf.cpp b/mdal/frmts/mdal_xmdf.cpp index 10b0f13f..45f5dae5 100644 --- a/mdal/frmts/mdal_xmdf.cpp +++ b/mdal/frmts/mdal_xmdf.cpp @@ -480,10 +480,11 @@ std::unique_ptr< MDAL::Mesh > MDAL::DriverXmdf::load( const std::string &meshFil if ( vertexDims < 2 || vertexDims > 3 ) { - MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), "Vertices have unsupported number of dimensions " + std::to_string(vertexDims) + " only 2 (X,Y) or 3 (X, Y, Z) dimensions are allowed." ); + MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), "Vertices have unsupported number of dimensions " + std::to_string( vertexDims ) + " only 2 (X,Y) or 3 (X, Y, Z) dimensions are allowed." ); return nullptr; } + std::vector nodesData = nodes.readArrayDouble(); Vertices vertices( nodesRows );