Skip to content

Commit 4995705

Browse files
committed
Change where progress meter is updated for nodes
This is more in line with what happens for the ways and relations, specifically the progress meter is also updated for deleted nodes now. We also update it for all nodes, even if they are outside the bounding box, which might or might not be correct depending on how you interpret those numbers.
1 parent 45e43a8 commit 4995705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osmdata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ void osmdata_t::node(osmium::Node const &node)
235235
} else {
236236
node_add(node);
237237
}
238-
m_progress.add_node(node.id());
239238
}
240239
}
240+
m_progress.add_node(node.id());
241241
}
242242

243243
void osmdata_t::way(osmium::Way &way)

0 commit comments

Comments
 (0)