Making sure overlap check counter is initialized if a plot requests that overlaps be drawn.

This commit is contained in:
Patrick Shriwise 2019-06-11 09:56:49 -05:00
parent e837f2eb19
commit 2b7057667c

View file

@ -667,6 +667,7 @@ void Plot::set_color_overlaps(pugi::xml_node plot_node) {
// they're going to be plotted
if (color_overlaps_ && settings::run_mode == RUN_MODE_PLOTTING) {
settings::check_overlaps = true;
model::overlap_check_count.resize(model::cells.size(), 0);
}
}