bmesh.ops module for bmesh operator access, only remove_doubles and convex_hull at the moment.
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include "bmesh_py_types_customdata.h"
|
||||
#include "bmesh_py_types_meshdata.h"
|
||||
|
||||
#include "bmesh_py_ops.h"
|
||||
#include "bmesh_py_utils.h"
|
||||
|
||||
#include "BKE_tessmesh.h"
|
||||
@@ -143,6 +144,10 @@ PyObject *BPyInit_bmesh(void)
|
||||
PyDict_SetItemString(sys_modules, PyModule_GetName(submodule), submodule);
|
||||
Py_INCREF(submodule);
|
||||
|
||||
PyModule_AddObject(mod, "ops", (submodule = BPyInit_bmesh_ops()));
|
||||
PyDict_SetItemString(sys_modules, PyModule_GetName(submodule), submodule);
|
||||
Py_INCREF(submodule);
|
||||
|
||||
PyModule_AddObject(mod, "utils", (submodule = BPyInit_bmesh_utils()));
|
||||
PyDict_SetItemString(sys_modules, PyModule_GetName(submodule), submodule);
|
||||
Py_INCREF(submodule);
|
||||
|
Reference in New Issue
Block a user