diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-25 06:18:02 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-25 06:18:02 +0400 |
commit | dc385c59ea12ceb32e18baf4da46905327ea1103 (patch) | |
tree | 898b2c28c9e106edf5aa8425c344bab00754bd37 /source/blender/freestyle/intern/python/BPy_Interface1D.cpp | |
parent | c0f567e757cab55c1ed77d44a204c21023422859 (diff) |
soc-2008-mxcurioni: fully implemented (but did not test) Curve class.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Interface1D.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Interface1D.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Interface1D.cpp b/source/blender/freestyle/intern/python/BPy_Interface1D.cpp index ec881b010ee..5166fca4aef 100644 --- a/source/blender/freestyle/intern/python/BPy_Interface1D.cpp +++ b/source/blender/freestyle/intern/python/BPy_Interface1D.cpp @@ -1,6 +1,7 @@ #include "BPy_Interface1D.h" #include "BPy_Convert.h" +#include "Interface1D/BPy_Curve.h" #include "Interface1D/BPy_FEdge.h" #include "Interface1D/BPy_Stroke.h" #include "Interface1D/BPy_ViewEdge.h" @@ -137,6 +138,11 @@ PyMODINIT_FUNC Interface1D_Init( PyObject *module ) Py_INCREF( &Interface1D_Type ); PyModule_AddObject(module, "Interface1D", (PyObject *)&Interface1D_Type); + if( PyType_Ready( &Curve_Type ) < 0 ) + return; + Py_INCREF( &Curve_Type ); + PyModule_AddObject(module, "Curve", (PyObject *)&Curve_Type); + if( PyType_Ready( &FEdge_Type ) < 0 ) return; Py_INCREF( &FEdge_Type ); |