Small bug in visnav special case

If there are no edges the use of unsigned int causes undesirable behavior when the vertex set is empty.
Merge pull request #35 from skiesel/visnavfix

Small bug in visnav special case