Revision 1729 branches/gvSIG_CAD_Layout_version/applications/appgvSIG/src/com/iver/cit/gvsig/gui/cad/tools/PolyLineCadTool.java

View differences:

PolyLineCadTool.java
302 302
		if (status == 1) {
303 303
			for (int i = 0; i < list.size(); i++) {
304 304
				((IGeometry) list.get(i)).cloneGeometry().draw((Graphics2D) g,
305
					getCadToolAdapter().getMapControl().getViewPort(),
306
					CadTool.modifySymbol);
305
						getAT(),
306
						CadTool.modifySymbol);
307 307
			}
308 308

  
309 309
			drawLine((Graphics2D) g, antPoint, new Point2D.Double(x, y));
310 310
		} else if ((status == 2) || (status == 3)) {
311 311
			for (int i = 0; i < list.size(); i++) {
312 312
				((IGeometry) list.get(i)).cloneGeometry().draw((Graphics2D) g,
313
					getCadToolAdapter().getMapControl().getViewPort(),
314
					CadTool.modifySymbol);
313
						getAT(),
314
						CadTool.modifySymbol);
315 315
			}
316 316

  
317 317
			Point2D point = new Point2D.Double(x, y);
......
429 429

  
430 430
			if (ig != null) {
431 431
				ig.draw((Graphics2D) g,
432
					getCadToolAdapter().getMapControl().getViewPort(),
433
					CadTool.modifySymbol);
432
						getAT(),
433
						CadTool.modifySymbol);
434 434
			}
435 435
		}
436 436
	}

Also available in: Unified diff