Преглед на файлове

Fixed problem with pybind

Former-commit-id: e16a216e89ef8e99a852bfed3224894138f747d8
Sebastian Koch преди 9 години
родител
ревизия
6c61cc5d9f
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      python/modules/py_igl_viewer.cpp

+ 4 - 0
python/modules/py_igl_viewer.cpp

@@ -8,6 +8,10 @@
 #include <igl/viewer/ViewerData.h>
 #include <igl/viewer/OpenGL_state.h>
 #include <igl/serialize.h>
+#ifdef IGL_VIEWER_WITH_NANOGUI
+#include "../../../external/nanogui/include/nanogui/formhelper.h"
+#include "../../../external/nanogui/include/nanogui/screen.h"
+#endif
 
 void python_export_igl_viewer(py::module &m)
 {