diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp index 7fc46308089bf90142cab791bb807da47effb761..ae562182d6349d21ee743e0690237b0d9d0cdb1f 100644 --- a/Fltk/FlGui.cpp +++ b/Fltk/FlGui.cpp @@ -41,6 +41,7 @@ #include "CommandLine.h" #include "Context.h" #include "StringUtils.h" +#include "Generator.h" #include "gl2ps.h" class drawContextFltk : public drawContextGlobal{ @@ -330,6 +331,11 @@ int FlGui::testGlobalShortcuts(int event) mod_mesh_cb(0, 0); status = 1; } + // FIXME TEST + else if(Fl::test_shortcut('4') || Fl::test_shortcut(FL_F + 4)) { + RecombineMesh(GModel::current()); + status = 2; + } else if(Fl::test_shortcut(FL_CTRL + 'q') || Fl::test_shortcut(FL_META + 'q')){ // only necessary when using the system menu bar, but hey, it // cannot hurt... diff --git a/Graphics/Camera.cpp b/Graphics/Camera.cpp index 38463dce72fc5deb65121b4b75f45c1abb0e9e9d..8458d915e13b7c0f2304508a9c6ed944d0bfe6ba 100644 --- a/Graphics/Camera.cpp +++ b/Graphics/Camera.cpp @@ -10,15 +10,6 @@ #include "Context.h" #include "drawContext.h" -#if defined(HAVE_FLTK) -#include <FL/Fl_JPEG_Image.H> -#include <FL/Fl_PNG_Image.H> -#endif - -using namespace std; - - - Camera::~Camera(){}; void Camera::init(){