--- a/src/gui.cpp Sat Dec 07 00:01:20 2013 +0200 +++ b/src/gui.cpp Sat Dec 07 01:03:17 2013 +0200 @@ -597,7 +597,7 @@ contextMenu->addAction (ui->actionModeDraw); contextMenu->addAction (ui->actionModeCircle); - if (R()->camera() != GL::Free) + if (R()->camera() != GL::EFreeCamera) { contextMenu->addSeparator(); contextMenu->addAction (ui->actionSetDrawDepth); } @@ -633,9 +633,9 @@ // ----------------------------------------------------------------------------- void ForgeWindow::updateEditModeActions() { const EditMode mode = R()->getEditMode(); - ui->actionModeSelect->setChecked (mode == Select); - ui->actionModeDraw->setChecked (mode == Draw); - ui->actionModeCircle->setChecked (mode == CircleMode); + ui->actionModeSelect->setChecked (mode == ESelectMode); + ui->actionModeDraw->setChecked (mode == EDrawMode); + ui->actionModeCircle->setChecked (mode == ECircleMode); } // =============================================================================