src/toolsets/viewtoolset.cpp

changeset 1034
a05fc8256a3a
parent 1033
32153a1dbb15
child 1063
1f15c52c11f6
equal deleted inserted replaced
1033:32153a1dbb15 1034:a05fc8256a3a
177 m_window->renderer()->refresh(); 177 m_window->renderer()->refresh();
178 } 178 }
179 179
180 void ViewToolset::setDrawDepth() 180 void ViewToolset::setDrawDepth()
181 { 181 {
182 if (m_window->renderer()->camera() == EFreeCamera) 182 if (m_window->renderer()->camera() == FreeCamera)
183 return; 183 return;
184 184
185 bool ok; 185 bool ok;
186 double depth = QInputDialog::getDouble (m_window, "Set Draw Depth", 186 double depth = QInputDialog::getDouble (m_window, "Set Draw Depth",
187 format ("Depth value for %1:", m_window->renderer()->currentCameraName()), 187 format ("Depth value for %1:", m_window->renderer()->currentCameraName()),

mercurial