diff -r a05fc8256a3a -r 8a60250175ba src/toolsets/movetoolset.cpp --- a/src/toolsets/movetoolset.cpp Sun May 08 16:11:40 2016 +0300 +++ b/src/toolsets/movetoolset.cpp Sun May 08 16:26:16 2016 +0300 @@ -179,20 +179,17 @@ switch (RotationPoint(m_config->rotationPointType())) { - case RotationPoint::ObjectOrigin: + case ObjectOrigin: ui.objectPoint->setChecked (true); break; - case RotationPoint::WorldOrigin: + case WorldOrigin: ui.worldPoint->setChecked (true); break; - case RotationPoint::CustomPoint: + case CustomPoint: ui.customPoint->setChecked (true); break; - - case RotationPoint::NumValues: - break; } Vertex custompoint = m_config->customRotationPoint(); @@ -205,11 +202,11 @@ RotationPoint pointType; if (ui.objectPoint->isChecked()) - pointType = RotationPoint::ObjectOrigin; + pointType = ObjectOrigin; else if (ui.objectPoint->isChecked()) - pointType = RotationPoint::WorldOrigin; + pointType = WorldOrigin; else - pointType = RotationPoint::CustomPoint; + pointType = CustomPoint; custompoint.setX (ui.customX->value()); custompoint.setY (ui.customY->value());