diff -r 26b3f1e80a9c -r 317f4ce38f3f src/toolsets/movetoolset.cpp --- a/src/toolsets/movetoolset.cpp Sun Mar 05 16:57:49 2017 +0200 +++ b/src/toolsets/movetoolset.cpp Sun Mar 05 20:25:22 2017 +0200 @@ -78,25 +78,25 @@ void MoveToolset::gridCoarse() { - m_config->setGrid (Grid::Coarse); + configuration().setGrid (Grid::Coarse); m_window->updateGridToolBar(); } void MoveToolset::gridMedium() { - m_config->setGrid (Grid::Medium); + configuration().setGrid (Grid::Medium); m_window->updateGridToolBar(); } void MoveToolset::gridFine() { - m_config->setGrid (Grid::Fine); + configuration().setGrid (Grid::Fine); m_window->updateGridToolBar(); } void MoveToolset::polarGrid() { - m_config->togglePolarGrid(); + configuration().togglePolarGrid(); m_window->updateGridToolBar(); } @@ -180,7 +180,7 @@ Ui_RotPointUI ui; ui.setupUi(dialog); - switch (RotationPoint(m_config->rotationPointType())) + switch (RotationPoint(configuration().rotationPointType())) { case ObjectOrigin: ui.objectPoint->setChecked (true); @@ -195,7 +195,7 @@ break; } - Vertex custompoint = m_config->customRotationPoint(); + Vertex custompoint = configuration().customRotationPoint(); ui.customX->setValue(custompoint.x()); ui.customY->setValue(custompoint.y()); ui.customZ->setValue(custompoint.z()); @@ -214,7 +214,7 @@ custompoint.setX (ui.customX->value()); custompoint.setY (ui.customY->value()); custompoint.setZ (ui.customZ->value()); - m_config->setRotationPointType((int) pointType); - m_config->setCustomRotationPoint (custompoint); + configuration().setRotationPointType((int) pointType); + configuration().setCustomRotationPoint (custompoint); } }