diff -r ea09eeba1c2b -r bdc9d429cdc2 src/gui.cpp --- a/src/gui.cpp Tue May 21 19:07:38 2013 +0300 +++ b/src/gui.cpp Wed May 22 20:34:21 2013 +0300 @@ -128,11 +128,6 @@ findAction ("wireframe")->setCheckable (true); findAction ("wireframe")->setChecked (gl_wireframe); -#ifdef NO_OVERPAINTING - for (int i = 0; i < 7; ++i) - findAction (fmt ("camera%s", g_CameraNames[i]))->setCheckable (true); -#endif - updateEditModeActions (); // things not implemented yet @@ -427,13 +422,6 @@ addToolBarAction ("modeSelect"); addToolBarAction ("modeDraw"); -#ifdef NO_OVERPAINTING - g_CurrentToolBar->addSeparator (); - - for (int i = 0; i < 7; ++i) - addToolBarAction (fmt ("camera%s", g_CameraNames[i])); -#endif // NO_OVERPAINTING - updateToolBars (); } @@ -1003,11 +991,6 @@ if (i != GL::Select) act->setEnabled (R ()->camera () != GL::Free); } - -#ifdef NO_OVERPAINTING - for (int i = 0; i < 7; ++i) - findAction (fmt ("camera%s", g_CameraNames[i]))->setChecked (i == (R ()->camera ())); -#endif } // ========================================================================================================================================