diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp index 9b9fd384395..8a94417a1ff 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DEdgeNature.cpp @@ -103,13 +103,8 @@ static PyObject * UnaryFunction1DEdgeNature___call__(BPy_UnaryFunction1DEdgeNatu return NULL; } return BPy_Nature_from_Nature(self->uf1D_edgenature->result); - } -static PyMethodDef BPy_UnaryFunction1DEdgeNature_methods[] = { - {NULL, NULL, 0, NULL} -}; - /*----------------------UnaryFunction1DEdgeNature get/setters ----------------------------*/ PyDoc_STRVAR(integration_type_doc, @@ -167,7 +162,7 @@ PyTypeObject UnaryFunction1DEdgeNature_Type = { 0, /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - BPy_UnaryFunction1DEdgeNature_methods, /* tp_methods */ + 0, /* tp_methods */ 0, /* tp_members */ BPy_UnaryFunction1DEdgeNature_getseters, /* tp_getset */ &UnaryFunction1D_Type, /* tp_base */ |