MantisBT - ParaView
View Issue Details
0004802ParaView(No Category)public2007-04-05 14:512007-05-10 10:48
Utkarsh Ayachit 
Utkarsh Ayachit 
highminoralways
closedfixed 
 
 
0004802: Reset camera cannot be undone
Reset camera does not get saved on interaction undo stack.
No tags attached.
Issue History
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0007238)
Utkarsh Ayachit   
2007-04-11 10:01   
Reset camera gets saved on the undo stack. It also works fine with linked views and their undo stacks.

/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderViewModule.cxx,v <-- pqRenderViewModule.cxx
new revision: 1.47; previous revision: 1.46
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderViewModule.h,v <-- pqRenderViewModule.h
new revision: 1.22; previous revision: 1.21
(0007322)
Ken Moreland   
2007-04-16 11:54   
Reset camera also resets the center of rotation. The undo does not restore the center of rotation. However, should it? Should the center of rotation go on the other undo stack? Should it be on any undo stack?
(0007353)
Ken Moreland   
2007-04-17 13:46   
The camera undo should also undo the center of rotation.
(0007426)
Mark Richardson   
2007-04-24 12:51   
When the 3D view is made, the view undo button is enabled. I think this is due to the first reset camera. The view undo should be disabled when the view first comes up.
(0007524)
Utkarsh Ayachit   
2007-04-30 12:55   
Reset camera undo undoes the changes to the center of rotation as well. Also so that this logic works correctly with linked views etc, when views are linked, their center of rotations are also linked.

/cvsroot/ParaView3/ParaView3/Qt/Components/pqUndoStackBuilder.cxx,v <-- pqUndoStackBuilder.cxx
new revision: 1.2; previous revision: 1.1
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderViewModule.cxx,v <-- pqRenderViewModule.cxx
new revision: 1.50; previous revision: 1.49
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderViewModule.h,v <-- pqRenderViewModule.h
new revision: 1.23; previous revision: 1.22
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVGenericRenderWindowInteractor.cxx,v <-- vtkPVGenericRenderWindowInteractor.cxx
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVGenericRenderWindowInteractor.h,v <-- vtkPVGenericRenderWindowInteractor.h
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMCameraLink.cxx,v <-- vtkSMCameraLink.cxx
new revision: 1.9; previous revision: 1.8
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMInteractionUndoStackBuilder.cxx,v <-- vtkSMInteractionUndoStackBuilder.cxx
new revision: 1.3; previous revision: 1.2
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/rendering.xml,v <-- rendering.xml
new revision: 1.153; previous revision: 1.152

(0007525)
Utkarsh Ayachit   
2007-04-30 13:01   
Fixed bug pointed to by Mark's comment.

/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderViewModule.cxx,v <-- pqRenderViewModule.cxx
new revision: 1.51; previous revision: 1.50
(0007579)
Ken Moreland   
2007-05-07 14:52   
This still needs to be fixed on the 3.0 branch.