Skip to content
Snippets Groups Projects
Commit 0063d5d9 authored by Joachim Pouderoux's avatar Joachim Pouderoux
Browse files

Fix crash in vtkPolygon::ParametrizePolygon for invalid polygons.

If the polygon has less that 3 points, the function call leads to
a crash.
Add a simple test on the number of point to avoid that.
parent 51c49664
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment