Changeset 4680 for branches/1.3/gui/scripts/nanovisviewer.tcl
- Timestamp:
- Nov 10, 2014, 2:48:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/gui/scripts/nanovisviewer.tcl
r4670 r4680 2301 2301 } 2302 2302 2303 2304 2303 itcl::body Rappture::NanovisViewer::NameToAlphamap { name } { 2305 2304 switch -- $name { … … 2470 2469 } 2471 2470 2472 2473 2471 itcl::body Rappture::NanovisViewer::SetObjectStyle { dataobj cname } { 2474 2472 array set styles { 2475 -opacity 0.6 2476 } 2477 array set styles [lindex [$dataobj components -style $cname] 0] 2478 set _settings($cname-volumeopacity) $styles(-opacity) 2479 NameTransferFunction $dataobj $cname 2480 } 2481 2482 2483 2484 2473 -opacity 0.6 2474 } 2475 array set styles [lindex [$dataobj components -style $cname] 0] 2476 set _settings($cname-volumeopacity) $styles(-opacity) 2477 NameTransferFunction $dataobj $cname 2478 }
Note: See TracChangeset
for help on using the changeset viewer.