[GRASS-dev] NVIZ now broken?

Hamish hamish_nospam at yahoo.com
Sat Nov 18 10:34:27 EST 2006


Markus:
> >> The tcl error is:
> >>
> >> Index: panel_site.tcl
> >> ===================================================================
> >> RCS file:
> >/grassrepository/grass6/visualization/nviz/scripts/panel_site.tcl,v >
> >retrieving revision 2.6 > diff -u -r2.6 panel_site.tcl
> >> --- panel_site.tcl      13 Nov 2006 16:33:33 -0000      2.6
> >> +++ panel_site.tcl      16 Nov 2006 17:05:59 -0000
> >> @@ -125,7 +125,7 @@
> >>                 -command "change_color site $row1.color"]
> >>      bind $ptcolor <Expose> "$row1.color configure -bg
> >\[get_curr_sv_color > site\]"
> >>
> >> -    set markertype [ComboBox $row1.marker -label "  marker type "
> >-width 8 \ > +    set markertype [ComboBox $row1.marker  -width 8 \
> >>         -textvariable Nv_(siteshape) -modifycmd change_marker \
> >>         -values {"x" "sphere" "diamond" "cube" "box" "gyro" "aster"
> >> "histogram"}]
> >>
> >> -label doesn't work here.

Michael:
> > The offending ComboxBox is a BWidgets widget. I used this for the
> > express reason of NOT breaking any older TclTk installations. The
> > -label option is also in other places such as  the vector panel in
> > the GIS Manager. No one has reported a problem there.

Paul Kelly wrote:
> I can confirm the same problem as Markus, using ActiveState Tcl 8.4.13
> on  Windows. Markus' fix also worked for me. I didn't realise Nviz
> worked on  native Windows actually until Yann Chemin's message
> yesterday. This is  rather good. Need to use --with-opengl=windows in
> the configure script.


dumb guess: what if you strip away the spaces in

  -label "  marker type "
to
  -label "marker type"
or
  -label "marker_type"

?
Hamish




More information about the grass-dev mailing list