IPAL54303: CGNS export problems

more fix
This commit is contained in:
eap 2017-09-07 19:08:53 +03:00
parent 76430457f1
commit 06f98b8021

View File

@ -623,7 +623,7 @@ Driver_Mesh::Status DriverCGNS_Write::Perform()
return addMessage( cg_get_error(), /*fatal = */true);
// write BC location
if ( location != CGNS_ENUMV( Vertex ))
if ( location != CGNS_ENUMV( Vertex ) || meshDim == 1 )
{
if ( cg_boco_gridlocation_write( _fn, iBase, iZone, iBC, location) != CG_OK )
return addMessage( cg_get_error(), /*fatal = */false);