[GRASS5] 5.3 Cygwin, Tcl/Tk, NVIZ

Markus Neteler neteler at itc.it
Mon Mar 8 12:06:20 EST 2004


On Sat, Mar 06, 2004 at 07:20:07PM +0000, Glynn Clements wrote:
> Richard Greenwood wrote:
[...]
> > ==== 3/3/2004  NVWISH2.2 error message ====
> > 
> > Error in startup script: integer value too large to represent
> >      while executing
> > "expr int([lindex $range 0])"
> >      (procedure "mkcutplanePanel" line 55)
> >      invoked from within
> 
> This suggests that GS_get_zrange_nz() is returning garbage, possibly
> because it can't find a surface.

src/libes/ogsf/GS2.c

void GS_get_zrange_nz(float *min, float *max)
{
 [...]
 return;
}

Shouldn't it be 
int  GS_get_zrange_nz(float *min, float *max)
?

On the other hand in NVIZ there are no if statements
so maybe a test is needed there.

?
Markus




More information about the grass-dev mailing list