Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-22 07:04:52 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-22 07:04:52 +0400
commit025feb240d6aad7419dd415fc3230f04b9e2aecf (patch)
treef7ebfb68e157a0d6bb64de158ee16d35c3e280ce /source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
parenta4a7341aef2e772b7a233ade5dbccfbb959fd8e4 (diff)
Code clean-up: removed empty PyMethodDef.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
index 96bb4c65701..b27de41109c 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
@@ -94,10 +94,6 @@ static PyObject * UnaryFunction0DViewShape___call__(BPy_UnaryFunction0DViewShape
return BPy_ViewShape_from_ViewShape(*(self->uf0D_viewshape->result));
}
-static PyMethodDef BPy_UnaryFunction0DViewShape_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DViewShape type definition ------------------------------*/
PyTypeObject UnaryFunction0DViewShape_Type = {
@@ -128,7 +124,7 @@ PyTypeObject UnaryFunction0DViewShape_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DViewShape_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */