src/toolsets/viewtoolset.cpp

changeset 1168
0b450b4559b8
parent 1156
c20ee66b6705
child 1171
430ffa371d2a
--- a/src/toolsets/viewtoolset.cpp	Thu Feb 23 22:52:45 2017 +0200
+++ b/src/toolsets/viewtoolset.cpp	Thu Feb 23 22:55:09 2017 +0200
@@ -155,13 +155,13 @@
 void ViewToolset::wireframe()
 {
 	m_config->toggleDrawWireframe();
-	m_window->renderer()->refresh();
+	m_window->renderer()->update();
 }
 
 void ViewToolset::drawAngles()
 {
 	m_config->toggleDrawAngles();
-	m_window->renderer()->refresh();
+	m_window->renderer()->update();
 }
 
 void ViewToolset::setDrawDepth()
@@ -235,7 +235,7 @@
 		m_config->setRandomColors (false);
 
 	m_window->updateActions();
-	m_window->renderer()->refresh();
+	m_window->renderer()->update();
 }
 
 void ViewToolset::jumpTo()
@@ -265,7 +265,7 @@
 		m_config->setBfcRedGreenView (false);
 
 	m_window->updateActions();
-	m_window->renderer()->refresh();
+	m_window->renderer()->update();
 }
 
 void ViewToolset::drawSurfaces()

mercurial