Changeset 24886 in osm for applications


Ignore:
Timestamp:
2010-12-27T11:51:05+01:00 (14 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java

    r24885 r24886  
    689689                        break;
    690690                case BOYSPP:
    691                         objStr = "buoy_special_purpose";
     691                        if (topShape == Top.MOORING)
     692                                objStr = "mooring";
     693                        else
     694                                objStr = "buoy_special_purpose";
    692695                        break;
    693696                case LIGHTS:
     
    736739                                break;
    737740                        }
     741                        if ((object == Obj.BOYSPP) && (topShape == Top.MOORING))
     742                                Main.main.undoRedo.add(new ChangePropertyCommand(dlg.node, "seamark:mooring:category", "mooring-buoy"));
    738743
    739744                        switch (shape) {
Note: See TracChangeset for help on using the changeset viewer.