bug in vtkMergeFilter (+solution)
alext at win.tue.nl
alext at win.tue.nl
Wed Apr 12 04:36:08 EDT 2000
Hi all,
There's a small but nasty bug in vtkMergeFilter.cxx, vtk 3.1.
In method: vtkDataSet *vtkMergeFilter::GetVectors()
the return should be:
return (vtkDataSet *)(this->Inputs[2]);
and not
return (vtkDataSet *)(this->Inputs[3]);
as it is in the current vtk 3.1. solftware.
As it is, vtkMergeFilter crashes if one connects/disconnects its inputs in
some random order.
Hope that helps,
Alex
------------------------------------------------------------------
Alexandru C. Telea | Technische Universiteit Eindhoven
|
E-mail : alext at win.tue.nl | Dept. of Mathematics and
| Computing Science
Office : HG 8.30 | Postbus 513
Tel. : +31 40 247 4328 | 5600 MB Eindhoven
Secretary: +31 40 247 4416 | The Netherlands
Fax : +31 40 244 2489 |
URL : http://www.win.tue.nl/math/an/alext
-------------------------------------------------------------------
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list