Changeset 5381 for trunk


Ignore:
Timestamp:
May 1, 2015, 12:36:58 PM (10 years ago)
Author:
ldelgass
Message:

Override -opacity style setting in flowvis viewer

File:
1 edited

Legend:

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

    r5380 r5381  
    16751675    }
    16761676    array set style [lindex [$dataobj components -style $cname] 0]
     1677    # Some tools erroneously set -opacity to 1 in style, so
     1678    # override the requested opacity for now
     1679    set style(-opacity) 0.5
    16771680    set _settings(-opacity) [expr $style(-opacity) * 100]
    16781681    set _dataset2style($dataobj-$cname) $cname
     
    17021705    }
    17031706    array set style [lindex [$dataobj components -style $cname] 0]
     1707    # Some tools erroneously set -opacity to 1 in style, so
     1708    # override the requested opacity for now
     1709    set style(-opacity) 0.5
    17041710
    17051711    # We have to parse the style attributes for a volume using this
Note: See TracChangeset for help on using the changeset viewer.