Ignore:
Timestamp:
2009-12-05T18:54:28+01:00 (15 years ago)
Author:
jttt
Message:

Encalupse OsmPrimitive.incomplete

Location:
applications/editors/josm/plugins/measurement
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/measurement/build.xml

    r18595 r18962  
    2525                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    2626                <attribute name="Plugin-Description" value="Provide a measurement dialog and a layer to measure length and angle of segments, area surrounded by a (simple) closed way and create measurement paths (which also can be imported from a gps layer)."/>
    27                 <attribute name="Plugin-Mainversion" value="2450"/>
     27                <attribute name="Plugin-Mainversion" value="2578"/>
    2828                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    2929            </manifest>
  • applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java

    r17377 r18962  
    114114                for(OsmPrimitive p:arg0){
    115115                                    // ignore incomplete nodes
    116                                     if(p instanceof Node && !((Node)p).incomplete){
     116                                    if(p instanceof Node && !((Node)p).isIncomplete()){
    117117                                        Node n =(Node)p;
    118118                                        if(lastNode == null){
Note: See TracChangeset for help on using the changeset viewer.