diff --git a/src/StdMeshers/StdMeshers_CartesianParameters3D.cxx b/src/StdMeshers/StdMeshers_CartesianParameters3D.cxx index 7263907db..1f54353b2 100644 --- a/src/StdMeshers/StdMeshers_CartesianParameters3D.cxx +++ b/src/StdMeshers/StdMeshers_CartesianParameters3D.cxx @@ -443,9 +443,9 @@ bool StdMeshers_CartesianParameters3D::SetParametersByDefaults(const TDefaults& { vector spacing( 1, SMESH_Comment(dflts._elemLength)); vector intPnts; - GetGridSpacing( spacing, intPnts, 0 ); - GetGridSpacing( spacing, intPnts, 1 ); - GetGridSpacing( spacing, intPnts, 2 ); + SetGridSpacing( spacing, intPnts, 0 ); + SetGridSpacing( spacing, intPnts, 1 ); + SetGridSpacing( spacing, intPnts, 2 ); return true; } return false;