Revision 1614 branches/pilotoDWG/applications/appgvSIG/src/com/iver/cit/gvsig/gui/cad/tools/ScaleCadTool.java

View differences:

ScaleCadTool.java
98 98
						h=lastPoint.getY()-firstPoint.getY();
99 99
					try {
100 100
						//ViewPort vp = getCadToolAdapter().getMapControl().getViewPort(); 
101
						editingSource.startComplexGeometry();
101 102
						for (int i = 0; i < editingSource.getGeometryCount(); i++) {
102 103
							if (selectedGeometries.get(i)) {
103 104
								IGeometry geometry = editingSource.getGeometry(i);
......
105 106
								editingSource.modifyGeometry(i,geometry);
106 107
							}
107 108
						}
109
						editingSource.endComplexGeometry();
108 110
					} catch (DriverIOException e) {
109 111
						e.printStackTrace();
110 112
					} catch (IOException e1) {

Also available in: Unified diff