Revision: 4215
http://fudaa.svn.sourceforge.net/fudaa/?rev=4215&view=rev
Author: emmanuel_martin
Date: 2008-11-13 10:39:29 +0000 (Thu, 13 Nov 2008)
Log Message:
-----------
bugfix #20
Modified Paths:
--------------
branches/FudaaModeleur_TC1Bis/fudaa_devel/ctulu/src/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java
Modified: branches/FudaaModeleur_TC1Bis/fudaa_devel/ctulu/src/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java
===================================================================
--- branches/FudaaModeleur_TC1Bis/fudaa_devel/ctulu/src/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java 2008-11-13 10:09:54 UTC (rev 4214)
+++ branches/FudaaModeleur_TC1Bis/fudaa_devel/ctulu/src/org/fudaa/ctulu/gis/GISZoneCollectionLigneBrisee.java 2008-11-13 10:39:29 UTC (rev 4215)
@@ -230,7 +230,7 @@
// Raccourci si tous les sommets sont s\xE9lectionn\xE9s.
int nbSel=_sel.getNbSelectedIndex();
- if (nbSel==nbPt) {
+ if (nbSel==nbPt||(nbSel+1==nbPt&&(geometry_.getValueAt(_idxGeom) instanceof GISPolygone))) {
removeGeometries(new int[]{_idxGeom}, _cmd);
return true;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|