diff --git a/src/Mod/Path/PathSimulator/App/VolSim.cpp b/src/Mod/Path/PathSimulator/App/VolSim.cpp index 801f100534..5b6ac59736 100644 --- a/src/Mod/Path/PathSimulator/App/VolSim.cpp +++ b/src/Mod/Path/PathSimulator/App/VolSim.cpp @@ -740,6 +740,9 @@ void cSimTool::InitTool() // pos is 0..1 location along the radius of the tool case ROUND: dradius = radius * radius; break; + + case FLAT: + break; } } diff --git a/src/Mod/Path/PathSimulator/App/VolSim.h b/src/Mod/Path/PathSimulator/App/VolSim.h index 5c55aedb10..c1d5cbbdcf 100644 --- a/src/Mod/Path/PathSimulator/App/VolSim.h +++ b/src/Mod/Path/PathSimulator/App/VolSim.h @@ -99,8 +99,8 @@ public: void InitTool(); Type type; - float tipAngle; float radius; + float tipAngle; float dradius; float chamRatio; float GetToolProfileAt(float pos);