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()), |