Changeset 25673 in osm for applications/editors
- Timestamp:
- 2011-03-23T10:03:58+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/relcontext/src/relcontext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelation.java
r25671 r25673 151 151 } 152 152 153 public void wayNodesChanged( WayNodesChangedEvent event ) { 154 if( chosenRelation != null ) 155 fireRelationChanged(chosenRelation); // download incomplete primitives doesn't cause dataChanged event 156 } 157 158 public void primtivesAdded( PrimitivesAddedEvent event ) {} 153 159 public void nodeMoved( NodeMovedEvent event ) {} 154 160 public void otherDatasetChange( AbstractDatasetChangedEvent event ) {} 155 public void primtivesAdded( PrimitivesAddedEvent event ) {}156 public void wayNodesChanged( WayNodesChangedEvent event ) {}157 161 } -
applications/editors/josm/plugins/relcontext/src/relcontext/actions/DownloadChosenRelationAction.java
r25669 r25673 35 35 int total = relation.getMembersCount(); 36 36 int incomplete = relation.getIncompleteMembers().size(); 37 if( incomplete <= 5 || (incomplete <= 10 && incomplete * 3 < total) ) 37 // if( incomplete <= 5 || (incomplete <= 10 && incomplete * 3 < total) ) 38 if( incomplete <= 10 && incomplete * 3 < total ) 38 39 downloadIncomplete(relation); 39 40 else
Note:
See TracChangeset
for help on using the changeset viewer.