diff -r b9e101b76eb3 -r 43d722c255d3 src/gui_actions.cpp --- a/src/gui_actions.cpp Sun May 19 15:36:01 2013 +0300 +++ b/src/gui_actions.cpp Tue May 21 14:02:18 2013 +0300 @@ -449,4 +449,20 @@ if (ok) g_win->R ()->setDepthValue (depth); -} \ No newline at end of file +} + +#ifdef NO_OVERPAINTING +#define CAMERA_ACTION(NAME,LOWERNAME) \ +MAKE_ACTION (camera##NAME, #NAME " Camera", "camera-" #LOWERNAME, "Change to the " #LOWERNAME " camera", (0)) { \ + g_win->R ()->setCamera (GL::NAME); \ +} + +CAMERA_ACTION (Top, top) +CAMERA_ACTION (Bottom, bottom) +CAMERA_ACTION (Left, left) +CAMERA_ACTION (Right, right) +CAMERA_ACTION (Front, front) +CAMERA_ACTION (Back, back) +CAMERA_ACTION (Free, free) + +#endif // NO_OVERPAINTING \ No newline at end of file