diff -r 26b3f1e80a9c -r 317f4ce38f3f src/toolsets/viewtoolset.cpp --- a/src/toolsets/viewtoolset.cpp Sun Mar 05 16:57:49 2017 +0200 +++ b/src/toolsets/viewtoolset.cpp Sun Mar 05 20:25:22 2017 +0200 @@ -124,7 +124,7 @@ void ViewToolset::axes() { - m_config->toggleDrawAxes(); + configuration().toggleDrawAxes(); m_window->updateActions(); m_window->renderer()->update(); } @@ -149,13 +149,13 @@ void ViewToolset::wireframe() { - m_config->toggleDrawWireframe(); + configuration().toggleDrawWireframe(); m_window->renderer()->update(); } void ViewToolset::drawAngles() { - m_config->toggleDrawAngles(); + configuration().toggleDrawAngles(); m_window->renderer()->update(); } @@ -224,10 +224,10 @@ void ViewToolset::bfcView() { - m_config->toggleBfcRedGreenView(); + configuration().toggleBfcRedGreenView(); - if (m_config->bfcRedGreenView()) - m_config->setRandomColors (false); + if (configuration().bfcRedGreenView()) + configuration().setRandomColors (false); m_window->updateActions(); m_window->renderer()->update(); @@ -254,10 +254,10 @@ void ViewToolset::randomColors() { - m_config->toggleRandomColors(); + configuration().toggleRandomColors(); - if (m_config->randomColors()) - m_config->setBfcRedGreenView (false); + if (configuration().randomColors()) + configuration().setBfcRedGreenView (false); m_window->updateActions(); m_window->renderer()->update(); @@ -265,24 +265,24 @@ void ViewToolset::drawSurfaces() { - m_config->toggleDrawSurfaces(); + configuration().toggleDrawSurfaces(); m_window->updateActions(); } void ViewToolset::drawEdgeLines() { - m_config->toggleDrawEdgeLines(); + configuration().toggleDrawEdgeLines(); m_window->updateActions(); } void ViewToolset::drawConditionalLines() { - m_config->toggleDrawConditionalLines(); + configuration().toggleDrawConditionalLines(); m_window->updateActions(); } void ViewToolset::lighting() { - m_config->toggleLighting(); + configuration().toggleLighting(); m_window->updateActions(); }