Changeset 5756 for branches/1.4/gui


Ignore:
Timestamp:
Jul 18, 2015 11:06:41 AM (9 years ago)
Author:
ldelgass
Message:

Merge r5736,r5747,r5754 from trunk

Location:
branches/1.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4

  • branches/1.4/gui/apps/execute.tcl

    r5665 r5756  
    3232Rappture::resources::load
    3333
     34# Parse command line options
     35# ----------------------------------------------------------------------
     36Rappture::getopts argv params {
     37    value -tool ""
     38    value -status ""
     39    value -output ""
     40    value -cleanup no
     41}
     42
    3443# load the XML info in the driver file
    3544if {[catch {Rappture::library $driverxml} result]} {
     
    4150
    4251# If tool.xml is not specified, try to find it the way Rappture would.
     52if {$params(-tool) ne ""} {
     53    set toolxml $params(-tool)
     54}
    4355if {$toolxml eq ""} {
    4456    if {[file isfile tool.xml]} {
     
    120132}
    121133
    122 # Parse command line options to see
     134# Apply effects of all other command line options
    123135# ----------------------------------------------------------------------
    124 Rappture::getopts argv params {
    125     value -status ""
    126     value -output ""
    127     value -cleanup no
    128 }
    129 
    130136if {$params(-status) ne ""} {
    131137    set LogFid [open $params(-status) w]
  • branches/1.4/gui/scripts/field.tcl

    r5660 r5756  
    651651# ----------------------------------------------------------------------
    652652itcl::body Rappture::Field::InitHints {} {
     653    # Order of duplicate keys matters here: later entries override
     654    # earlier ones.  For example: camera.position is deprecated in
     655    # favor of about.camera, so about.camera is listed after
     656    # camera.position
    653657    foreach {key path} {
    654658        camera          camera.position
     659        camera          about.camera
    655660        color           about.color
    656661        default         about.default
  • branches/1.4/gui/scripts/vtkheightmapviewer.tcl

    r5349 r5756  
    14901490            ResetAxes
    14911491            SendCmd "dataset scalar $_curFldName"
    1492             SendCmd "heightmap colormode scalar $_curFldName"
     1492            SendCmd "heightmap colormode $_colorMode $_curFldName"
    14931493            Zoom reset
    14941494            UpdateContourList
Note: See TracChangeset for help on using the changeset viewer.