Revision 1728 branches/pilotoDWG/applications/appgvSIG/src/com/iver/cit/gvsig/gui/cad/tools/SelectionCadTool.java
SelectionCadTool.java | ||
---|---|---|
133 | 133 |
// handlerPoint.getY())) { |
134 | 134 |
double distance = firstPoint.distance(handlerPoint); |
135 | 135 |
|
136 |
if ((distance <= min) && (distance < tolerance)) { |
|
136 |
if ((distance <= min) && (distance < getCadToolAdapter().getMapControl().getViewPort() |
|
137 |
.toMapDistance(SelectionCadTool.tolerance))) { |
|
137 | 138 |
if (distance < min) { |
138 | 139 |
selectedGeometry.clear(); |
139 | 140 |
selectedGeometryIndex.clear(); |
Also available in: Unified diff