src/mathfunctions.cpp

changeset 1323
05b3e173c900
parent 1319
39d7a9642eea
child 1326
69a90bd2dba2
--- 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();

mercurial