Revision 34263 trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/symbols/PictureFillSymbol.java

View differences:

PictureFillSymbol.java
240 240
		xml.putProperty("angle", angle);
241 241
		xml.putProperty("scaleX", xScale);
242 242
		xml.putProperty("scaleY", yScale);
243
		xml.putProperty("imagePath", pathGenerator.getPath(imagePath));
244
		xml.putProperty("selImagePath", pathGenerator.getPath(selImagePath));
243
		xml.putProperty("imagePath", pathGenerator.getURLPath(imagePath));
244
		xml.putProperty("selImagePath", pathGenerator.getURLPath(selImagePath));
245 245
		if (getFillColor()!=null)
246 246
			xml.putProperty("fillColor", StringUtilities.color2String(getFillColor()));
247 247

  
......
260 260

  
261 261
	public void setXMLEntity(XMLEntity xml) {
262 262

  
263
		imagePath = pathGenerator.getAbsolutePath(xml.getStringProperty("imagePath"));
264
		selImagePath = pathGenerator.getAbsolutePath(xml.getStringProperty("selImagePath"));
263
		imagePath = pathGenerator.getAbsoluteURLPath(xml.getStringProperty("imagePath"));
264
		selImagePath = pathGenerator.getAbsoluteURLPath(xml.getStringProperty("selImagePath"));
265 265
		setDescription(xml.getStringProperty("desc"));
266 266
		setIsShapeVisible(xml.getBooleanProperty("isShapeVisible"));
267 267
		setAngle(xml.getDoubleProperty("angle"));

Also available in: Unified diff