Changeset 2569 for trunk/gui/scripts


Ignore:
Timestamp:
Sep 22, 2011, 7:02:26 PM (13 years ago)
Author:
ldelgass
Message:

Fix for sending seed VTK file (from seeds hint)

File:
1 edited

Legend:

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

    r2547 r2569  
    19751975    array set settings $style
    19761976    SendCmd "streamlines add $tag"
    1977     SendCmd "streamlines seed visible off"
     1977    SendCmd "streamlines seed visible off $tag"
    19781978    set seeds [$dataobj hints seeds]
    19791979    if { $seeds != "" && ![info exists _seeds($dataobj)] } {
    19801980        set length [string length $seeds]
    1981         set stag $dataobj-seeds
    1982         SendCmd "dataset add $stag data follows $length"
     1981        SendCmd "streamlines seed fmesh 200 data follows $length $tag"
    19831982        SendCmd "$seeds"
    1984         SendCmd "dataset visible 0 $stag"
    1985         SendCmd "streamlines seed random 1000 $stag"
    19861983        set _seeds($dataobj) 1
    19871984    }
Note: See TracChangeset for help on using the changeset viewer.