Changeset 4564 for branches/1.3


Ignore:
Timestamp:
Jul 18, 2014, 2:02:50 AM (5 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.