diff -r b8dc3620e5db -r 241d3e452b32 src/toolsets/viewtoolset.cpp --- a/src/toolsets/viewtoolset.cpp Thu Dec 27 23:41:06 2018 +0200 +++ b/src/toolsets/viewtoolset.cpp Fri Dec 28 00:03:47 2018 +0200 @@ -220,7 +220,7 @@ void ViewToolset::setCullDepth() { - if (m_window->renderer()->camera() == Camera::Free) + if (m_window->renderer()->camera() == gl::FreeCamera) return; bool ok; @@ -232,8 +232,8 @@ m_window->renderer()->currentCamera().name() ), m_window->renderer()->currentCullValue(), - -GLRenderer::far, - GLRenderer::far, + -gl::far, + gl::far, 4, &ok );