Changeset 27216 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2011-12-12T00:11:25+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSectors.java
r27214 r27216 153 153 return row; 154 154 case 1: 155 return dlg.panelMain.mark.getLightAtt(Att.COL, row); 155 if (((String)dlg.panelMain.mark.getLightAtt(Att.CHR, row)).contains("Al")) { 156 if (dlg.panelMain.mark.getLightAtt(Att.COL, row) == Col.UNKNOWN) { 157 return Col.UNKNOWN; 158 } else { 159 return dlg.panelMain.mark.getLightAtt(Att.ALT, row); 160 } 161 } else { 162 return dlg.panelMain.mark.getLightAtt(Att.COL, row); 163 } 156 164 case 6: 157 165 return (dlg.panelMain.mark.getLightAtt(Att.LIT, row) == Lit.DIR); … … 177 185 ImageIcon img = colours.get(colour); 178 186 if (img == value) 179 // dlg.panelMain.mark.setLightAtt(Att.COL, row, colour);180 187 if (((String)dlg.panelMain.mark.getLightAtt(Att.CHR, row)).contains("Al")) { 181 188 if (((colour == Col.UNKNOWN) && (dlg.panelMain.mark.getLightAtt(Att.ALT, row) == Col.UNKNOWN))
Note:
See TracChangeset
for help on using the changeset viewer.