diff -r d8935cdb24c0 -r 05b3e173c900 src/toolsets/movetoolset.cpp --- a/src/toolsets/movetoolset.cpp Sat Mar 24 12:09:26 2018 +0200 +++ b/src/toolsets/movetoolset.cpp Sat Mar 24 12:34:20 2018 +0200 @@ -53,25 +53,25 @@ void MoveToolset::gridCoarse() { - m_config->setGrid (Grid::Coarse); + config::setGrid (Grid::Coarse); m_window->updateGridToolBar(); } void MoveToolset::gridMedium() { - m_config->setGrid (Grid::Medium); + config::setGrid (Grid::Medium); m_window->updateGridToolBar(); } void MoveToolset::gridFine() { - m_config->setGrid (Grid::Fine); + config::setGrid (Grid::Fine); m_window->updateGridToolBar(); } void MoveToolset::polarGrid() { - m_config->togglePolarGrid(); + config::togglePolarGrid(); m_window->updateGridToolBar(); } @@ -155,7 +155,7 @@ Ui_RotPointUI ui; ui.setupUi(dialog); - switch (RotationPoint(m_config->rotationPointType())) + switch (RotationPoint(config::rotationPointType())) { case ObjectOrigin: ui.objectPoint->setChecked (true); @@ -170,7 +170,7 @@ break; } - Vertex custompoint = m_config->customRotationPoint(); + Vertex custompoint = config::customRotationPoint(); ui.customX->setValue(custompoint.x); ui.customY->setValue(custompoint.y); ui.customZ->setValue(custompoint.z); @@ -189,7 +189,7 @@ custompoint.x = ui.customX->value(); custompoint.y = ui.customY->value(); custompoint.z = ui.customZ->value(); - m_config->setRotationPointType(pointType); - m_config->setCustomRotationPoint(custompoint); + config::setRotationPointType(pointType); + config::setCustomRotationPoint(custompoint); } }