489 { |
489 { |
490 contextMenu->addSeparator(); |
490 contextMenu->addSeparator(); |
491 contextMenu->addAction (ui.actionSubfileSelection); |
491 contextMenu->addAction (ui.actionSubfileSelection); |
492 } |
492 } |
493 |
493 |
494 if (renderer()->camera() != Camera::Free) |
494 if (renderer()->camera() != gl::FreeCamera) |
495 { |
495 { |
496 contextMenu->addSeparator(); |
496 contextMenu->addSeparator(); |
497 contextMenu->addAction(ui.actionSetDrawPlane); |
497 contextMenu->addAction(ui.actionSetDrawPlane); |
498 contextMenu->addAction(ui.actionClearDrawPlane); |
498 contextMenu->addAction(ui.actionClearDrawPlane); |
499 contextMenu->addAction(ui.actionSetCullDepth); |
499 contextMenu->addAction(ui.actionSetCullDepth); |