Revision 40735 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.editing.app/org.gvsig.editing.app.mainplugin/src/main/java/org/gvsig/editing/gui/cad/tools/AutoCompletePolygon.java

View differences:

AutoCompletePolygon.java
65 65
        } else
66 66
            if (geom.getHandlers(Geometry.SELECTHANDLER).length > 1) {
67 67
                GeneralPathX gpxGeom = new GeneralPathX();
68
                gpxGeom.moveTo(x, y);
69 68
                gpxGeom
70 69
                    .append(
71 70
                        geom.getPathIterator(null, geomManager.getFlatness()),
72 71
                        true);
72
                gpxGeom.lineTo(x, y);
73 73
                gpxGeom.closePath();
74 74
                renderer.draw(createCurve(gpxGeom),
75 75
                    mapControlManager.getGeometrySelectionSymbol());

Also available in: Unified diff