Revision 38520 branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/gui/cad/CADToolAdapter.java

View differences:

CADToolAdapter.java
397 397

  
398 398
        if (adjustedPoint != null) {
399 399
            Point2D p = null;
400
            
401
            p = getMapControl().getViewPort().toMapPoint(adjustedPoint);
402
            /*
403
             * We are going to draw.
404
             * Is mapAdjustedPoint better in any situation?
405
             * 
400 406
            if (mapAdjustedPoint != null) {
401 407
                p = mapAdjustedPoint;
402 408
            } else {
403 409
                p = getMapControl().getViewPort().toMapPoint(adjustedPoint);
404 410
            }
411
            */
405 412

  
406 413
            // If the stack is empty, return
407 414
            if (cadToolStack.isEmpty()) {

Also available in: Unified diff