Changeset 4564 for branches/1.3/gui


Ignore:
Timestamp:
Jul 17, 2014, 11:02:50 PM (10 years ago)
Author:
ldelgass
Message:

Restore conversion of opacity value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/nanovisviewer.tcl

    r4563 r4564  
    12891289        "-opacity" {
    12901290            set _settings($_current${what}) $_settings($what)
     1291            set val [expr $settings($what) * 0.01]
    12911292            foreach tag [GetDatasetsWithComponent $_current] {
    1292                 SendCmd "volume shading opacity $_settings($what) $tag"
    1293             }
    1294             #updateTransferFunctions
     1293                SendCmd "volume shading opacity $val $tag"
     1294            }
    12951295        }
    12961296        "-outlinevisible" {
Note: See TracChangeset for help on using the changeset viewer.