Changeset 3988


Ignore:
Timestamp:
Oct 3, 2013 3:42:37 PM (9 years ago)
Author:
gah
Message:

fix typo in AdjustSettings? for vtkvolumeviewer

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/builder/scripts/main.tcl

    r3177 r3988  
    869869                # /apps/rappture/current for 32-bit systems
    870870                # /apps/share64/rappture/current for 64-bit systems
     871                puts stderr "TOOLDIR=[file dir [info nameofexecutable]]"
    871872                if {$tcl_platform(wordSize) == 8
    872873                      && [file isdirectory /apps/share64/rappture/current]} {
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r3986 r3988  
    13661366        "volumeVisible" {
    13671367            set bool $_settings(volumeVisible)
    1368             set _settings($cname-volumeVisible)
     1368            set _settings($_current-volumeVisible)
    13691369            foreach tag [GetDatasetsWithComponent $_current] {
    13701370                SendCmd "volume visible $bool $tag"
     
    13821382            set mode [$itk_component(blendmode) translate $val]
    13831383            set _settings(volumeBlendMode) $mode
    1384             set _settings($cname-volumeBlendMode) $mode
     1384            set _settings($_current-volumeBlendMode) $mode
    13851385            foreach tag [GetDatasetsWithComponent $_current] {
    13861386                SendCmd "volume blendmode $mode $tag"
     
    13891389        "volumeAmbient" {
    13901390            set val $_settings(volumeAmbient)
    1391             set _settings($cname-volumnAmbient) $val
     1391            set _settings($_current-volumnAmbient) $val
    13921392            set ambient [expr {0.01*$val}]
    13931393            foreach tag [GetDatasetsWithComponent $_current] {
     
    13971397        "volumeDiffuse" {
    13981398            set val $_settings(volumeDiffuse)
    1399             set _settings($cname-volumeDiffuse) $val
     1399            set _settings($_current-volumeDiffuse) $val
    14001400            set diffuse [expr {0.01*$val}]
    14011401            foreach tag [GetDatasetsWithComponent $_current] {
     
    14051405        "volumeSpecularLevel" - "volumeSpecularExponent" {
    14061406            set val $_settings(volumeSpecularLevel)
    1407             set _settings($cname-volumnSpecularLevel) $val
     1407            set _settings($_current-volumnSpecularLevel) $val
    14081408            set level [expr {0.01*$val}]
    14091409            set exp $_settings(volumeSpecularExponent)
     
    14141414        "volumeLighting" {
    14151415            set bool $_settings(volumeLighting)
    1416             set _settings($cname-volumeLighting) $bool
     1416            set _settings($_current-volumeLighting) $bool
    14171417            foreach tag [GetDatasetsWithComponent $_current] {
    14181418                SendCmd "volume lighting $bool $tag"
     
    14211421        "volumeOpacity" {
    14221422            set val $_settings(volumeOpacity)
    1423             set _settings($cname-volumeOpacity) $val
     1423            set _settings($_current-volumeOpacity) $val
    14241424            set val [expr {0.01*$val}]
    14251425            foreach tag [GetDatasetsWithComponent $_current] {
     
    14291429        "volumeQuality" {
    14301430            set val $_settings(volumeQuality)
    1431             set _settings($cname-volumeQuality) $val
     1431            set _settings($_current-volumeQuality) $val
    14321432            set val [expr {0.01*$val}]
    14331433            foreach tag [GetDatasetsWithComponent $_current] {
Note: See TracChangeset for help on using the changeset viewer.