Changeset 6043


Ignore:
Timestamp:
Feb 23, 2016 12:16:20 PM (8 years ago)
Author:
ldelgass
Message:

Fix for nanoHUB ticket #303985: make sure new contour list is sent to server
in isosurfaceviewer after a field change.

File:
1 edited

Legend:

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

    r5769 r6043  
    181181itcl::body Rappture::VtkIsosurfaceViewer::constructor {hostlist args} {
    182182    set _serverType "vtkvis"
     183    #DebugOn
    183184
    184185    # Rebuild event
     
    13751376#
    13761377itcl::body Rappture::VtkIsosurfaceViewer::AdjustSetting {what {value ""}} {
     1378    DebugTrace "Enter"
    13771379    if { ![isconnected] } {
     1380        DebugTrace "Not connected"
    13781381        return
    13791382    }
     
    15061509            SendCmd "cutplane colormode $_colorMode $_curFldName"
    15071510            SendCmd "contour3d colormode $_colorMode $_curFldName"
     1511            GenerateContourList
     1512            SendCmd [list contour3d contourlist $_contourList(values)]
    15081513            SendCmd "camera reset"
    1509             GenerateContourList
    15101514            DrawLegend
    15111515        }
     
    26712675#        $c bind sensor <B1-Motion>       [itcl::code $this LegendB1Motion motion %x %y]
    26722676#        $c bind sensor <ButtonRelease-1> [itcl::code $this LegendB1Motion release %x %y]
    2673 
    26742677    }
    26752678    $c delete isoline
Note: See TracChangeset for help on using the changeset viewer.