Skip to content

Commit 90771fe

Browse files
committed
EHN: Updated according to the new API of polydatamessage
1 parent a3e4ab7 commit 90771fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MRML/vtkIGTLToMRMLPolyData.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ int vtkIGTLToMRMLPolyData::IGTLToMRML(vtkMRMLNode* node)
316316
for (int i = 0; i < nAttributes; i ++)
317317
{
318318
igtl::PolyDataAttribute::Pointer attribute;
319-
attribute = this->InPolyDataMessage->GetAttribute(i);
319+
attribute = this->InPolyDataMessage->GetAttribute(igtl::PolyDataMessage::AttributeList::size_type(i));
320320

321321
vtkSmartPointer<vtkFloatArray> data =
322322
vtkSmartPointer<vtkFloatArray>::New();

0 commit comments

Comments
 (0)