From 66ecdf61ec6831dc9c6f0a2c130428c1aa252466 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 28 Jan 2019 08:53:02 +0100 Subject: [PATCH] FIx of the previous commit --- src/slic3r/GUI/GLCanvas3D.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index f193af9e0..d96db8945 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -1,13 +1,3 @@ -#if 1 -#pragma optimize("", off) -// Enable debugging and assert in this file. -#define DEBUG -#define _DEBUG -#undef NDEBUG -#endif - -#include - #include "slic3r/GUI/GLGizmo.hpp" #include "GLCanvas3D.hpp" @@ -4607,7 +4597,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re } if (printer_technology == ptSLA) { const SLAPrint *sla_print = this->sla_print(); - #if 0 // #ifdef _DEBUG + #ifdef _DEBUG // Verify that the SLAPrint object is synchronized with m_model. check_model_ids_equal(*m_model, sla_print->model()); #endif /* _DEBUG */