Cleanup: Move opensubdiv C-API headers to C++

All the relevant code is C++ now, so we don't need to complicate things
with the trip through C anymore. We will still need some wrappers, since
opensubdiv is an optional dependency though. The goal is to make it
simpler to remove the unnecessary/costly abstraction levels between
Blender mesh data and the opensubdiv code.
This commit is contained in:
Hans Goudey
2023-12-10 20:18:40 -05:00
parent 01eade9a02
commit 8157f33911
35 changed files with 191 additions and 263 deletions

View File

@@ -14,7 +14,7 @@
#include "../generic/py_capi_utils.h"
#ifdef WITH_OPENSUBDIV
# include "opensubdiv_capi.h"
# include "opensubdiv_capi.hh"
#endif
static PyTypeObject BlenderAppOpenSubdivType;