--- a/src/linetypes/circularprimitive.cpp Tue Jun 19 22:45:10 2018 +0300 +++ b/src/linetypes/circularprimitive.cpp Tue Jun 19 23:18:58 2018 +0300 @@ -68,6 +68,20 @@ return true; } +bool LDCircularPrimitive::isFlat() const +{ + switch (m_type) + { + case PrimitiveModel::Cylinder: + case PrimitiveModel::CylinderClosed: + case PrimitiveModel::CylinderOpen: + return false; + + default: + return true; + } +} + void LDCircularPrimitive::rasterize( DocumentManager* context, Winding /* parentWinding */,