--- a/src/gui.cpp Sun Sep 22 23:27:07 2013 +0300 +++ b/src/gui.cpp Thu Oct 03 18:07:06 2013 +0300 @@ -64,11 +64,6 @@ #define act(N) extern_cfg (KeySequence, key_##N); #include "actions.h" -const char* g_modeActionNames[] = { - "modeSelect", - "modeDraw", -}; - // ============================================================================= // ----------------------------------------------------------------------------- ForgeWindow::ForgeWindow() { @@ -606,6 +601,7 @@ contextMenu->addAction (ACTION (ClearOverlay)); contextMenu->addAction (ACTION (ModeSelect)); contextMenu->addAction (ACTION (ModeDraw)); + contextMenu->addAction (ACTION (ModeCircle)); if (R()->camera() != GL::Free) { contextMenu->addSeparator(); @@ -644,6 +640,7 @@ const EditMode mode = R()->editMode(); ACTION (ModeSelect)->setChecked (mode == Select); ACTION (ModeDraw)->setChecked (mode == Draw); + ACTION (ModeCircle)->setChecked (mode == CircleMode); } // =============================================================================