[vtk-developers] Viewport change ? check for duplicate prop.

Sebastien BARRE sebastien.barre at kitware.com
Fri Dec 13 16:52:55 EST 2002


Hi

I just noticed that vtkViewPort::AddProp(), the main (and only I guess) way 
to add a prop to a viewport/renderer does not check if the prop is already 
in the viewport.

If noone objects, I will add logic so that a prop can not be added more 
than once in the prop collection ; vtkViewPort::AddProp() will just check 
if the prop is already in the collection, and silently do nothing if it's 
there.

Any problem with that ?

Thanks

--
Sebastien Barre





More information about the vtk-developers mailing list