Changeset 3355 for trunk/gui/scripts/vtkheightmapviewer.tcl
- Timestamp:
- Feb 25, 2013 2:35:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkheightmapviewer.tcl
r3330 r3355 1919 1919 itcl::configbody Rappture::VtkHeightmapViewer::plotbackground { 1920 1920 if { [isconnected] } { 1921 SendCmd "screen bgcolor [Color2RGB $itk_option(-plotbackground)]" 1921 set rgb [Color2RGB $itk_option(-plotbackground)] 1922 SendCmd "screen bgcolor $rgb" 1922 1923 $itk_component(view) configure -background $itk_option(-plotbackground) 1923 1924 } … … 1929 1930 itcl::configbody Rappture::VtkHeightmapViewer::plotforeground { 1930 1931 if { [isconnected] } { 1931 SendCmd "axis color all [Color2RGB $itk_option(-plotforeground)]" 1932 set rgb [Color2RGB $itk_option(-plotforeground)] 1933 SendCmd "dataset color $rgb" 1934 SendCmd "cutplane ccolor $rgb" 1935 SendCmd "axis color all $rgb" 1932 1936 } 1933 1937 }
Note: See TracChangeset
for help on using the changeset viewer.