Commit dc007f90 authored by Uwe Schulzweida's avatar Uwe Schulzweida

Selbox: added support for generic grid with 1 cell

parent d887c382
......@@ -896,7 +896,7 @@ void *Selbox(void *argument)
if ( gridID1 == vlistInqVarGrid(vlistID1, varID) )
vars[varID] = TRUE;
}
else if ( gridtype == GRID_GENERIC && gridInqXsize(gridID1) == 0 && gridInqYsize(gridID1) == 0 )
else if ( gridtype == GRID_GENERIC && gridInqXsize(gridID1) <= 1 && gridInqYsize(gridID1) <=1 )
{
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment