Ignore:
Timestamp:
Nov 23, 2014 4:24:53 AM (9 years ago)
Author:
ldelgass
Message:

merge r4769 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

    • Property svn:mergeinfo changed
      /trunkmerged: 4769
  • branches/1.3/gui/scripts/vtkheightmapviewer.tcl

    r4768 r4770  
    218218
    219219    array set _settings {
    220         -axisflymode            "static"
     220        -axisflymode            "static"
    221221        -axislabels             1
    222         -axisminorticks         1
    223         -axisvisible            1
     222        -axisminorticks         1
     223        -axisvisible            1
    224224        -colormap               BCGYR
    225225        -colormapdiscrete       0
    226226        -colormapvisible        1
    227         -edges                  0
    228         -field                  "Default"
    229         -heightmapscale         50
    230         -isheightmap            0
     227        -edges                  0
     228        -field                  "Default"
     229        -heightmapscale         50
     230        -isheightmap            0
    231231        -isolinecolor           black
    232232        -isolinesvisible        1
    233233        -legendvisible          1
    234         -lighting               1
    235         -numisolines            10
     234        -lighting               1
     235        -numisolines            10
    236236        -opacity                100
    237         -outline                0
    238         -savelighting           1
    239         -saveopacity            100
    240         -saveoutline            0
    241         -stretchtofit           0
    242         -wireframe              0
    243         -xgrid                  0
    244         -ygrid                  0
    245         -zgrid                  0
     237        -outline                0
     238        -savelighting           1
     239        -saveopacity            100
     240        -saveoutline            0
     241        -stretchtofit           0
     242        -wireframe              0
     243        -xgrid                  0
     244        -ygrid                  0
     245        -zgrid                  0
    246246    }
    247247    array set _changed {
     
    13801380            SendCmd "axis visible all $bool"
    13811381        }
    1382         "-xgrid" - "-ygrid" - "-zgrid" {
    1383             set axis [string tolower [string range $what 1 1]]
    1384             set bool $_settings($what)
    1385             SendCmd "axis grid $axis $bool"
    1386         }
    13871382        "-background" {
    13881383            set bg [$itk_component(background) value]
     
    16681663            SendCmd "heightmap wireframe $bool"
    16691664        }
     1665        "-xgrid" - "-ygrid" - "-zgrid" {
     1666            set axis [string tolower [string range $what 1 1]]
     1667            set bool $_settings($what)
     1668            SendCmd "axis grid $axis $bool"
     1669        }
    16701670        default {
    16711671            error "don't know how to fix $what"
     
    17791779    SendCmd "heightmap colormap $_currentColormap"
    17801780}
    1781 
    17821781
    17831782#
     
    20932092}
    20942093
    2095 
    20962094itcl::body Rappture::VtkHeightmapViewer::BuildCameraTab {} {
    20972095    set inner [$itk_component(main) insert end \
     
    21122110        0,0 $inner.view_l -anchor e -pady 2 \
    21132111        0,1 $inner.view -anchor w -pady 2
     2112    blt::table configure $inner r0 -resize none
    21142113
    21152114    set labels { qx qy qz qw xpan ypan zoom }
     
    21392138    incr row
    21402139
    2141     blt::table configure $inner c* r* -resize none
     2140    blt::table configure $inner c* -resize none
    21422141    blt::table configure $inner c2 -resize expand
    21432142    blt::table configure $inner r$row -resize expand
Note: See TracChangeset for help on using the changeset viewer.