Revision 366 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.swing/org.gvsig.vectorediting.swing.impl/src/main/java/org/gvsig/vectorediting/swing/impl/DefaultEditingBehavior.java
DefaultEditingBehavior.java | ||
---|---|---|
125 | 125 |
} |
126 | 126 |
} |
127 | 127 |
|
128 |
Point point; |
|
129 |
point = vp.convertToMapPoint(e.getX(), e.getY()); |
|
128 |
Point point; |
|
129 |
if(getMapControl().getAdjustedPoint() != null){ |
|
130 |
point = vp.convertToMapPoint(getMapControl().getAdjustedPoint()); |
|
131 |
} else { |
|
132 |
point = vp.convertToMapPoint(e.getX(), e.getY()); |
|
133 |
} |
|
130 | 134 |
|
131 | 135 |
try { |
132 | 136 |
editingContext.getActiveService().setValue(point); |
Also available in: Unified diff