Skip to content

Commit

Permalink
Merge pull request #75 from z0022myy/empty_polydata_#74
Browse files Browse the repository at this point in the history
BUG: empty polydata causes exception. #74
  • Loading branch information
tokjun committed Jan 11, 2016
2 parents 98072a8 + 7ca069c commit 514fb80
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 @@ -638,10 +638,6 @@ int PolyDataMessage::PackBody()
*(ptr_f++) = points[2];
}
}
else
{
return 0;
}

//Vertices
if (info.vertices)
Expand Down

0 comments on commit 514fb80

Please sign in to comment.