浏览代码

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)
 {