Ignore:
Timestamp:
Feb 24, 2013 1:11:18 PM (11 years ago)
Author:
gah
Message:

merge (by hand) with Rappture1.2 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r3177 r3330  
     1# -*- mode: tcl; indent-tabs-mode: nil -*-
    12
    23# ----------------------------------------------------------------------
     
    211212    $_parser alias dataset [itcl::code $this ReceiveDataset]
    212213    $_parser alias legend [itcl::code $this ReceiveLegend]
     214    $_parser alias viserror [itcl::code $this ReceiveError]
    213215
    214216    array set _outline {
     
    293295    bind $c <KeyPress-Down>  [list %W yview scroll -10 units]
    294296    bind $c <Enter> "focus %W"
     297    bind $c <Control-F1> [itcl::code $this ToggleConsole]
    295298
    296299    # Fixes the scrollregion in case we go off screen
     
    10341037        }
    10351038
    1036         if 0 {
     1039        if 1 {
    10371040            # Tell the server the name of the tool, the version, and dataset
    10381041            # that we are rendering.  Have to do it here because we don't know
     
    10421045            lappend args version [$_first hints toolRevision]
    10431046            lappend args dataset [$_first hints label]
    1044             SendCmd "clientinfo $args"
     1047            SendCmd "clientinfo [list $args]"
    10451048        }
    10461049
     
    21692172
    21702173    itk_component add xCutScale {
    2171         ::scale $inner.xval -from 100 -to 1 \
     2174        ::scale $inner.xval -from 100 -to 0 \
    21722175            -width 10 -orient vertical -showvalue yes \
    21732176            -borderwidth 1 -highlightthickness 0 \
     
    21962199
    21972200    itk_component add yCutScale {
    2198         ::scale $inner.yval -from 100 -to 1 \
     2201        ::scale $inner.yval -from 100 -to 0 \
    21992202            -width 10 -orient vertical -showvalue yes \
    22002203            -borderwidth 1 -highlightthickness 0 \
     
    22232226
    22242227    itk_component add zCutScale {
    2225         ::scale $inner.zval -from 100 -to 1 \
     2228        ::scale $inner.zval -from 100 -to 0 \
    22262229            -width 10 -orient vertical -showvalue yes \
    22272230            -borderwidth 1 -highlightthickness 0 \
Note: See TracChangeset for help on using the changeset viewer.