Changeset 3370


Ignore:
Timestamp:
Feb 26, 2013, 4:00:56 PM (12 years ago)
Author:
ldelgass
Message:

Fix volume shading sliders in nanovisviewer (broken in rev. 3366)

File:
1 edited

Legend:

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

    r3368 r3370  
    9090    protected method DoResize {}
    9191    protected method FixLegend {}
    92     protected method AdjustSetting {what}
     92    protected method AdjustSetting {what {value ""}}
    9393    protected method InitSettings { args }
    9494    protected method Pan {option x y}
     
    12331233
    12341234# ----------------------------------------------------------------------
    1235 # USAGE: AdjustSetting <what> ?<value>?
     1235# USAGE: InitSettings <what> ?<value>?
    12361236#
    12371237# Used internally to update rendering settings whenever parameters
     
    12521252# to the back end.
    12531253# ----------------------------------------------------------------------
    1254 itcl::body Rappture::NanovisViewer::AdjustSetting {what} {
     1254itcl::body Rappture::NanovisViewer::AdjustSetting {what {value ""}} {
    12551255    switch -- $what {
    12561256        light {
Note: See TracChangeset for help on using the changeset viewer.