From 697ea501eec4d5baa351fc6e9c5b342493b09523 Mon Sep 17 00:00:00 2001 From: Daniel Wood Date: Wed, 29 Apr 2020 21:31:07 +0100 Subject: [PATCH] Remove and silence some debug prints --- src/Mod/Path/PathSimulator/App/VolSim.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Path/PathSimulator/App/VolSim.cpp b/src/Mod/Path/PathSimulator/App/VolSim.cpp index cd1840ce19..732be19a67 100644 --- a/src/Mod/Path/PathSimulator/App/VolSim.cpp +++ b/src/Mod/Path/PathSimulator/App/VolSim.cpp @@ -780,11 +780,11 @@ float cSimTool::GetToolProfileAt(float pos) // pos is -1..1 location along the float radPos = std::abs(pos) * radius; toolShapePoint test; test.radiusPos = radPos; auto it = std::lower_bound(m_toolShape.begin(), m_toolShape.end(), test, toolShapePoint::less_than()); - float diff = std::abs(radPos - it->radiusPos); + //float diff = std::abs(radPos - it->radiusPos); - if (diff > 0.05){ - Base::Console().Log("requested pos: %f rad: %f diff: %f\n", radPos, it->radiusPos, diff); - } + //if (diff > 0.05){ + // Base::Console().Log("requested pos: %f rad: %f diff: %f\n", radPos, it->radiusPos, diff); + //} return it->heightPos; }