- Timestamp:
- Jul 6, 2013, 6:25:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkglyphviewer.tcl
r3723 r3758 1392 1392 if { $color == "none" } { 1393 1393 if { $_settings(colormapVisible) } { 1394 SendCmd "glyphs surface 0"1394 SendCmd "glyphs colormode ccolor {}" 1395 1395 set _settings(colormapVisible) 0 1396 1396 } 1397 1397 } else { 1398 1398 if { !$_settings(colormapVisible) } { 1399 SendCmd "glyphs surface 1"1399 SendCmd "glyphs colormode $_colorMode $_curFldName" 1400 1400 set _settings(colormapVisible) 1 1401 1401 } … … 1455 1455 return 1456 1456 } 1457 SendCmd "dataset vector $_curFldName" 1458 SendCmd "dataset maprange explicit $_limits($_curFldName) $_curFldName" 1457 #SendCmd "dataset maprange explicit $_limits($_curFldName) $_curFldName" 1459 1458 #SendCmd "cutplane colormode $_colorMode $_curFldName" 1460 1459 SendCmd "glyphs colormode $_colorMode $_curFldName" … … 1521 1520 if { $_currentColormap != "" } { 1522 1521 set cmap $_currentColormap 1523 SendCmdNoWait "legend $cmap vmag$_curFldName {} $w $h 0"1522 SendCmdNoWait "legend $cmap $_colorMode $_curFldName {} $w $h 0" 1524 1523 } 1525 1524 } … … 1628 1627 1629 1628 itk_component add field_l { 1630 label $inner.field_l -text " Field" -font "Arial 9"1629 label $inner.field_l -text "Color By" -font "Arial 9" 1631 1630 } { 1632 1631 ignore -font
Note: See TracChangeset
for help on using the changeset viewer.