Revision 335 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.xyshift/src/main/java/org/gvsig/geoprocess/algorithm/xyshift/XYShiftAlgorithm.java

View differences:

XYShiftAlgorithm.java
116 116

  
117 117
				GeometryOperation operation = new XYShiftOperation(x, y, this);
118 118
				operation.setTaskStatus(getStatus());
119
				operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true);
119
				operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, 
120
						selectedGeom, false, true);
120 121
			} else {
121 122
				buildOutPutStore(featureType, IVectorLayer.SHAPE_TYPE_POLYGON,
122 123
						getTranslation("Null_polygon"), RESULT_POL);
......
129 130

  
130 131
				GeometryOperation operation = new XYShiftOperation(x, y, this);
131 132
				operation.setTaskStatus(getStatus());
132
				operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true);
133
				operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, 
134
						selectedGeom, false, true);
133 135
			} else {
134 136
				buildOutPutStore(featureType.getCopy(), IVectorLayer.SHAPE_TYPE_LINE,
135 137
						getTranslation("Null_line"), RESULT_LINE);
......
142 144

  
143 145
				GeometryOperation operation = new XYShiftOperation(x, y, this);
144 146
				operation.setTaskStatus(getStatus());
145
				operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true);
147
				operation.computesFeatureOperation(storeLayer, outFeatStore, attrNames, 
148
						selectedGeom, false, true);
146 149
			} else {
147 150
				buildOutPutStore(featureType.getCopy(), IVectorLayer.SHAPE_TYPE_POINT,
148 151
						getTranslation("Null_point"), RESULT_POINT);

Also available in: Unified diff