Ignore:
Timestamp:
2007-10-10T00:10:27+02:00 (18 years ago)
Author:
gebner
Message:

Add incompleteness checks for nodes.

Location:
trunk/src/org/openstreetmap/josm/data/osm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r343 r357  
    6363            return o instanceof Way ? Long.valueOf(id).compareTo(o.id) : -1;
    6464    }
    65        
     65
    6666        @Deprecated
    6767        public boolean isIncomplete() {
    68                 return false;
     68                return incomplete;
    6969        }
    7070}
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java

    r343 r357  
    9393         */
    9494        public void visit(Node n) {
     95                if (n.incomplete) return;
     96
    9597                Color color = null;
    9698                if (inactive)
     
    108110         */
    109111        public void visit(Way w) {
     112                if (w.incomplete) return;
     113
    110114                Color wayColor;
    111115                if (inactive)
Note: See TracChangeset for help on using the changeset viewer.