diff --git a/drawing/drawing.pde b/drawing/drawing.pde index b00a0fa..1336647 100644 --- a/drawing/drawing.pde +++ b/drawing/drawing.pde @@ -120,7 +120,7 @@ void mouse_over_BUTTON(){ void mouseClicked(){ if(check_mouse_over_button(rectX1,rectY1,rectheight,rectwidth)){ //draw edges should be implemented by pressing button. - if (G.V.size()<=3) throw new RuntimeException("Requires at least 5 points"); + if (G.V.size()<=3) throw new RuntimeException("Requires at least 4 points"); for(int i=0;i