--- a/src/mathfunctions.cpp Sat Mar 24 12:09:26 2018 +0200 +++ b/src/mathfunctions.cpp Sat Mar 24 12:34:20 2018 +0200 @@ -84,7 +84,7 @@ Vertex MathFunctions::getRotationPoint(const QVector<LDObject*>& objs) const { - switch (RotationPoint (m_config->rotationPointType())) + switch (RotationPoint (config::rotationPointType())) { case ObjectOrigin: { @@ -111,7 +111,7 @@ return Vertex(); case CustomPoint: - return m_config->customRotationPoint(); + return config::customRotationPoint(); } return Vertex();