From c5440d4741d87eca0823f4fdf1ab9781d5a715a7 Mon Sep 17 00:00:00 2001 From: Hal Clark Date: Fri, 19 Jan 2024 12:05:03 -0800 Subject: [PATCH] SDL_Viewer: contouring: force refresh when cancelling a save. --- src/Operations/SDL_Viewer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Operations/SDL_Viewer.cc b/src/Operations/SDL_Viewer.cc index 6bda1607..24cd85e6 100644 --- a/src/Operations/SDL_Viewer.cc +++ b/src/Operations/SDL_Viewer.cc @@ -5616,6 +5616,7 @@ std::cout << "Collision detected between " << obj.pos << " and " << obj_j.pos // Otherwise, we have to wait for the task to complete. Maybe transfer to yet another thread // and detach the thread?? TODO. extracted_contours = decltype(extracted_contours)(); + contouring_img_altered = true; } ImGui::EndPopup(); }