MantisBT - ParaView
View Issue Details
0012549ParaView(No Category)public2011-08-25 09:232012-02-08 17:27
Utkarsh Ayachit 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
 
3.12 
Kitware
12549_fix_python_state_loading
incorrect functionality
0012549: Bug in loading state from python
The documented script (http://www.vtk.org/Wiki/ParaView/Python_Scripting#Loading_State_and_Manipulating_It [^]) does not work:

>>> from paraview.simple import *
# Load the state
>>> servermanager.LoadState("/Users/berk/myteststate.pvsm")
# Make sure that the view in the state is the active one
>>> SetActiveView(GetRenderView())
# Now render
>>> Render()
No tags attached.
Issue History
2011-08-25 09:23Utkarsh AyachitNew Issue
2011-08-25 09:25Utkarsh AyachitTopic Name => 12549_fix_python_state_loading
2011-08-25 09:25Utkarsh AyachitNote Added: 0027428
2011-08-25 09:25Utkarsh AyachitStatusbacklog => gatekeeper review
2011-08-25 09:25Utkarsh AyachitFixed in Version => 3.12
2011-08-25 09:25Utkarsh AyachitResolutionopen => fixed
2011-08-25 09:25Utkarsh AyachitAssigned To => Utkarsh Ayachit
2011-08-26 15:57Utkarsh AyachitStatusgatekeeper review => customer review
2012-02-08 17:27Utkarsh AyachitStatuscustomer review => closed
2012-02-08 17:27Utkarsh AyachitNote Added: 0028182

Notes
(0027428)
Utkarsh Ayachit   
2011-08-25 09:25   
commit ec05afbc2d6a50fe61888b2674b73d42f61ca9d4
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Thu Aug 25 09:24:10 2011 -0400

    Fixed BUG 0012549. Don't create new render view is one exists.
    
    GetRenderView() was prematurely creating a new render view resulting in the
    to load state file and render to always create a new render view. Fixed that
(0028182)
Utkarsh Ayachit   
2012-02-08 17:27   
Closing bugs sitting in "customer review" for a long time.