MantisBT - ParaView
View Issue Details
0005874ParaView(No Category)public2007-10-12 11:532009-05-13 13:47
Ken Moreland 
Utkarsh Ayachit 
normalminoralways
closedfixed 
 
3.6 
0005874: LightKit sometimes applied twice when loading state.
If you usually have the LightKit lighting on (like I do) you will find that sometimes when you load state files you have created, the lights are applied twice. I can replicate with the following.

1. Start ParaView.
2. Go to View Setting and turn the default light off and the light kit lighting on.
3. Load the attached state file. It is just a sphere lighted with light kit.

When you load the state file, it looks very bright. That is because the lights defined in the state file were applied without turning off the lights already on in the scene.
No tags attached.
has duplicate 0006084closed Ken Moreland Duplicate lights created when state is reloaded 
related to 0006683closed Utkarsh Ayachit Applying lookmark messes up light-kit type lights 
? test.pvsm (90,751) 2007-10-12 11:53
https://www.vtk.org/Bug/file/6182/test.pvsm
Issue History
2007-10-12 11:53Ken MorelandNew Issue
2007-10-12 11:53Ken MorelandFile Added: test.pvsm
2008-04-08 14:41Ken MorelandRelationship addedhas duplicate 0006084
2008-04-10 17:50Ken MorelandRelationship addedrelated to 0006683
2008-04-15 10:49Berk GeveciStatusbacklog => @30@
2008-04-15 10:49Berk GeveciCategory3.4 => 3.6
2008-05-16 16:50Utkarsh AyachitStatus@30@ => tabled
2008-05-16 16:50Utkarsh AyachitAssigned To => Utkarsh Ayachit
2008-05-16 16:53Utkarsh AyachitStatustabled => @80@
2008-05-16 16:53Utkarsh AyachitResolutionopen => fixed
2008-05-16 16:53Utkarsh AyachitNote Added: 0011977
2008-05-22 21:01Alan ScottStatus@80@ => closed
2008-05-22 21:01Alan ScottNote Added: 0012077
2009-05-13 13:47Utkarsh AyachitTarget Version => 3.6
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0011977)
Utkarsh Ayachit   
2008-05-16 16:53   
vtkSMRenderViewProxy never checked if light kit was already added, hence it ended up adding the lights again and again! Fixed that.

/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.cxx,v <-- Servers/ServerManager/vtkSMRenderViewProxy.cxx
new revision: 1.67; previous revision: 1.66
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.h,v <-- Servers/ServerManager/vtkSMRenderViewProxy.h
new revision: 1.29; previous revision: 1.28
(0012077)
Alan Scott   
2008-05-22 21:01   
Tested client/server.