Bug in vtkAppendPolyData, field data of points not copied

Bill Lorensen wlorens1 at nycap.rr.com
Thu Mar 16 18:36:17 EST 2000


Thanks for the bug report. Your fix will appear in tonight's release,

Bill

BTW: If you have an example in C++ or tcl that illustrates the problem, we can add it to the nightly test suite to ensure it won't happen again.


At 05:51 PM 3/15/00 +0100, Patric.Weis at mycrona.de wrote:
>In vtkAppendPolyData of vtk 3.1 the field data of input points are not
>copied to the output.
>
>Please insert the following piece of code just behind 'if
>(newPtTensors)...' in vtkAppendPolyData.cxx (line 572 in Revision 1.56):
>
>   if (newPtField)
>     {
>     output->GetPointData()->SetFieldData(newPtField);
>     newPtField->Delete();
>     }
>
>
>Hope I'm right!
>
>Patric Weis
>MYCRONA GmbH
>
>
>--------------------------------------------------------------------
>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.
>-------------------------------------------------------------------- 


--------------------------------------------------------------------
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