Revision 47791 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.symbology/org.gvsig.symbology.lib/org.gvsig.symbology.lib.impl/src/main/java/org/gvsig/symbology/fmap/mapcontext/rendering/symbol/marker/impl/SimpleMarkerSymbol.java

View differences:

SimpleMarkerSymbol.java
76 76
	public ISymbol getSymbolForSelection(Color selectionColor) {
77 77
		if (selectionSymbol == null) {
78 78
			selectionSymbol = (SimpleMarkerSymbol) cloneForSelection();
79
		}else {
80
		    selectionSymbol.setColor(selectionColor);
81
		}
82
                if(selectionSymbol instanceof CartographicSupport){
83
                    ((CartographicSupport)selectionSymbol).setUnit(this.getUnit());
84
                }
79
		} 
80

  
81
        selectionSymbol.setColor(selectionColor);
82

  
83
        if(selectionSymbol instanceof CartographicSupport){
84
            ((CartographicSupport)selectionSymbol).setUnit(this.getUnit());
85
        }
85 86
		return selectionSymbol;
86 87
	}
87 88

  

Also available in: Unified diff