diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-24 06:32:56 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-24 06:32:56 +0400 |
commit | d38a335d47f1632000db5172877499ff0184d114 (patch) | |
tree | 296dceec7d9a82057f0b7cd7ce33de6771dc8906 /source/blender/freestyle/intern/python/Interface1D/FEdge | |
parent | 3bd0b8971615d6ddc309aa33a40f7ebf0c25b0c6 (diff) |
Code clean-up and fix for typos in docstrings.
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface1D/FEdge')
-rw-r--r-- | source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp | 6 | ||||
-rw-r--r-- | source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp index 1b06c5950a7..f50abdbe44d 100644 --- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp @@ -100,10 +100,6 @@ static int FEdgeSharp_init(BPy_FEdgeSharp *self, PyObject *args, PyObject *kwds) return 0; } -static PyMethodDef BPy_FEdgeSharp_methods[] = { - {NULL, NULL, 0, NULL} -}; - /*----------------------mathutils callbacks ----------------------------*/ /* subtype */ @@ -414,7 +410,7 @@ PyTypeObject FEdgeSharp_Type = { 0, /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - BPy_FEdgeSharp_methods, /* tp_methods */ + 0, /* tp_methods */ 0, /* tp_members */ BPy_FEdgeSharp_getseters, /* tp_getset */ &FEdge_Type, /* tp_base */ diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp index 8bc4941f0c3..a03c4a2d0bd 100644 --- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp @@ -97,10 +97,6 @@ static int FEdgeSmooth_init(BPy_FEdgeSmooth *self, PyObject *args, PyObject *kwd return 0; } -static PyMethodDef BPy_FEdgeSmooth_methods[] = { - {NULL, NULL, 0, NULL} -}; - /*----------------------mathutils callbacks ----------------------------*/ static int FEdgeSmooth_mathutils_check(BaseMathObject *bmo) @@ -269,7 +265,7 @@ PyTypeObject FEdgeSmooth_Type = { 0, /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - BPy_FEdgeSmooth_methods, /* tp_methods */ + 0, /* tp_methods */ 0, /* tp_members */ BPy_FEdgeSmooth_getseters, /* tp_getset */ &FEdge_Type, /* tp_base */ |