Changeset 4697


Ignore:
Timestamp:
Nov 11, 2014, 4:14:35 PM (5 years ago)
Author:
ldelgass
Message:

Fix opacity slider

File:
1 edited

Legend:

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

    r4689 r4697  
    5757    public method get {args}
    5858    public method isconnected {}
    59     public method limits { colormap }
     59    public method limits { dataobj }
    6060    public method parameters {title args} {
    6161        # do nothing
     
    8181    private method BuildAxisTab {}
    8282    private method BuildCameraTab {}
    83     private method BuildCutawayTab {}
    8483    private method BuildDownloadPopup { widget command }
    8584    private method BuildPolydataTab {}
     
    101100    private variable _datasets;         # contains all the dataobj-component
    102101                                        # datasets in the server
    103     private variable _colormaps;        # contains all the colormaps
    104                                         # in the server.
    105102    private variable _dataset2style;    # maps dataobj-component to transfunc
    106103    private variable _style2datasets;   # maps tf back to list of
     
    713710
    714711    # disconnected -- no more data sitting on server
    715     array unset _datasets
    716     array unset _data
    717     array unset _colormaps
     712    array unset _datasets
     713    array unset _data
    718714    global readyForNextFrame
    719715    set readyForNextFrame 1
     
    11551151        }
    11561152        "-polydataopacity" {
     1153            set _settings($what) [expr $_widget($what) * 0.01]
    11571154            EventuallySetPolydataOpacity
    11581155        }
Note: See TracChangeset for help on using the changeset viewer.