From ba69759634fc78d17b2c8b0d08740cd2c1f89638 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 27 Jul 2019 07:22:22 +0300 Subject: [PATCH] Forgot to comment debug lines. --HG-- branch : develop --- src/app/valentina/mainwindowsnogui.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 9e43ad147..0d8531bb6 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -322,9 +322,11 @@ bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator) shadows = CreateShadows(papers); isLayoutPortrait = lGenerator.IsPortrait(); scenes = CreateScenes(papers, shadows, details); +#if !defined(V_NO_ASSERT) //Uncomment to debug, shows global contour - gcontours = lGenerator.GetGlobalContours(); // uncomment for debugging - InsertGlobalContours(scenes, gcontours); // uncomment for debugging +// gcontours = lGenerator.GetGlobalContours(); // uncomment for debugging +// InsertGlobalContours(scenes, gcontours); // uncomment for debugging +#endif if (VApplication::IsGUIMode()) { PrepareSceneList(PreviewQuatilty::Fast);