View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012326 | VTK | (No Category) | public | 2011-07-01 09:04 | 2013-04-05 20:27 | ||||
Reporter | Thomas F Albrecht | ||||||||
Assigned To | Kyle Lutz | ||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012326: vtkXMLCompositeDataWriter does not write blocks with PolyData | ||||||||
Description | PolyData blocks are not written, because of this code in line 590ff: vtkstd::string fname; if(this->Internal->DataTypes[piece] <= 0) { return fname; } PolyData has DataType 0, so instead of just discarding invalid DataTypes with values < 0 by returning only the name, the same is done for PolyData. This is easily fixed by replacing by: if(this->Internal->DataTypes[piece] <= 0) Then, everything works fine. In the attached file, the bug is fixed, yet marked with a "FIXME" tag. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0026937) Thomas F Albrecht (reporter) 2011-07-01 09:35 |
Ooops, I didn't fill out the Reproducibility, which is of course: always. |
(0026938) Thomas F Albrecht (reporter) 2011-07-01 09:56 |
Another mistake: Of course the replacement should be: if(this->Internal->DataTypes[piece] < 0) (without the equal sign) |
(0026939) Kyle Lutz (viewer) 2011-07-01 10:19 |
This bug was fixed by the following commit: commit 99b3c8823d2fc09ef1a64bbc3f257274ee3ecb52 Author: Pierre Fillard <pierre.fillard@gmail.com> Date: Mon Dec 6 15:10:44 2010 -0500 BUG: Fixed an issue where vtkPolydata wasn't being written to file. The polydata enum value was zero which caused composite data with polydata to fail to be written properly. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-07-01 09:04 | Thomas F Albrecht | New Issue | |
2011-07-01 09:04 | Thomas F Albrecht | File Added: vtkXMLCompositeDataWriter.cxx | |
2011-07-01 09:30 | Utkarsh Ayachit | Assigned To | => Kyle Lutz |
2011-07-01 09:30 | Utkarsh Ayachit | Status | backlog => todo |
2011-07-01 09:35 | Thomas F Albrecht | Note Added: 0026937 | |
2011-07-01 09:56 | Thomas F Albrecht | Note Added: 0026938 | |
2011-07-01 10:12 | Kyle Lutz | Status | todo => active development |
2011-07-01 10:19 | Kyle Lutz | Note Added: 0026939 | |
2011-07-01 10:19 | Kyle Lutz | Status | active development => gatekeeper review |
2011-07-08 16:26 | Utkarsh Ayachit | Status | gatekeeper review => customer review |
2013-04-05 20:27 | Berk Geveci | Status | customer review => closed |
2013-04-05 20:27 | Berk Geveci | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |