Skip to content

Commit

Permalink
BUG: empty polydata causes exception. openigtlink#74
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Jan 11, 2016
1 parent ccb2438 commit 7ca069c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/igtlPolyDataMessage.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -649,10 +649,6 @@ int PolyDataMessage::PackBody()
*(ptr_f++) = points[2];
}
}
else
{
return 0;
}

//Vertices
if (info.vertices)
Expand Down

0 comments on commit 7ca069c

Please sign in to comment.