Author: martinn
Date: Sat Feb 2 10:00:56 2008
New Revision: 24776
URL: http://svn.gnome.org/viewvc/gimp?rev=24776&view=rev
Log:
2008-02-02 Martin Nordholts <[EMAIL PROTECTED]>
* app/tools/gimppolygonselecttool.c
(gimp_polygon_select_tool_commit): Only create a selection from
the polygon if there are 3 or more vertices.
Modified:
trunk/ChangeLog
trunk/app/tools/gimppolygonselecttool.c
Modified: trunk/app/tools/gimppolygonselecttool.c
==============================================================================
--- trunk/app/tools/gimppolygonselecttool.c (original)
+++ trunk/app/tools/gimppolygonselecttool.c Sat Feb 2 10:00:56 2008
@@ -455,7 +455,10 @@
gimp_polygon_select_tool_commit (GimpPolygonSelectTool *poly_sel_tool,
GimpDisplay *display)
{
- gimp_polygon_select_tool_select (poly_sel_tool, display);
+ if (poly_sel_tool->num_points >= 3)
+ {
+ gimp_polygon_select_tool_select (poly_sel_tool, display);
+ }
gimp_polygon_select_tool_halt (poly_sel_tool);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.