diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_IntegrationType.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_IntegrationType.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_IntegrationType.cpp b/source/blender/freestyle/intern/python/BPy_IntegrationType.cpp index d794b0c560e..adab3636b0d 100644 --- a/source/blender/freestyle/intern/python/BPy_IntegrationType.cpp +++ b/source/blender/freestyle/intern/python/BPy_IntegrationType.cpp @@ -171,6 +171,7 @@ PyMODINIT_FUNC IntegrationType_Init( PyObject *module ) m = Py_InitModule3("Blender.Freestyle.Integrator", module_functions, module_docstring); if (m == NULL) return; + Py_INCREF(m); PyModule_AddObject(module, "Integrator", m); // from Integrator import * |