From 2b7057667c69eeb438c2ba8373cfb6cdef4fe454 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 11 Jun 2019 09:56:49 -0500 Subject: [PATCH] Making sure overlap check counter is initialized if a plot requests that overlaps be drawn. --- src/plot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plot.cpp b/src/plot.cpp index 91effefb3..da880a5b1 100644 --- a/src/plot.cpp +++ b/src/plot.cpp @@ -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); } }