[vtk-developers] Adding null to vtkCollection make it crash

Andy Cedilnik andy.cedilnik at kitware.com
Thu Jul 10 11:55:43 EDT 2003


Hi All,

If you try to add null to vtkCollection:

vtkCollection c
c AddItem {}

VTK will crash. There is no check in AddItem at this point. Should it
be? Also, what should it do? Insert null item, or insert nothing.

			Andy




More information about the vtk-developers mailing list