Ignore:
Timestamp:
Jun 29, 2012, 3:09:38 PM (12 years ago)
Author:
gah
Message:

fixes for drawingentry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/vtkviewer.tcl

    r3067 r3072  
    11721172            foreach dataset [CurrentDatasets -visible $_first] {
    11731173                SendCmd "polydata opacity $sval $dataset"
     1174                if { $_haveGlyphs } {
     1175                    SendCmd "glyphs opacity $sval $dataset"
     1176                }
    11741177            }
    11751178        }
     
    11781181            foreach dataset [CurrentDatasets -visible $_first] {
    11791182                SendCmd "polydata wireframe $bool $dataset"
     1183                if { $_haveGlyphs } {
     1184                    SendCmd "glyphs wireframe $bool $dataset"
     1185                }
    11801186            }
    11811187        }
     
    11831189            set bool $_volume(visible)
    11841190            foreach dataset [CurrentDatasets -visible $_first] {
     1191                if { $_haveGlyphs } {
     1192                    SendCmd "glyphs visible $bool $dataset"
     1193                }
    11851194                SendCmd "polydata visible $bool $dataset"
    11861195            }
     
    11891198            set bool $_volume(lighting)
    11901199            foreach dataset [CurrentDatasets -visible $_first] {
     1200                if { $_haveGlyphs } {
     1201                    SendCmd "glyphs lighting $bool $dataset"
     1202                }
    11911203                SendCmd "polydata lighting $bool $dataset"
    11921204            }
     
    11951207            set bool $_volume(edges)
    11961208            foreach dataset [CurrentDatasets -visible $_first] {
     1209                if { $_haveGlyphs } {
     1210                    SendCmd "glyphs edges $bool $dataset"
     1211                }
    11971212                SendCmd "polydata edges $bool $dataset"
    11981213            }
Note: See TracChangeset for help on using the changeset viewer.