From b216e4d12d8e4e416724d33a9a4c017d2809e5d0 Mon Sep 17 00:00:00 2001 From: Maxime Curioni Date: Sat, 26 Jul 2008 02:33:21 +0000 Subject: soc-2008-mxcurioni: implemented (but did not test) the following classes: Material, Chain, FEdgeSharp, FEdgeSmooth. All Interface1D classes have now been fully implemented. --- source/blender/freestyle/intern/python/BPy_Convert.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/freestyle/intern/python/BPy_Convert.h') diff --git a/source/blender/freestyle/intern/python/BPy_Convert.h b/source/blender/freestyle/intern/python/BPy_Convert.h index ab80908cf8f..9bf535ead6a 100644 --- a/source/blender/freestyle/intern/python/BPy_Convert.h +++ b/source/blender/freestyle/intern/python/BPy_Convert.h @@ -17,6 +17,9 @@ using namespace Geometry; // Interface0D, Interface0DIteratorNested, Interface0DIterator #include "../view_map/Interface0D.h" +// Material +#include "../scene_graph/Material.h" + // Stroke, StrokeAttribute, StrokeVertex #include "../stroke/Stroke.h" @@ -36,6 +39,8 @@ using namespace Geometry; // StrokeInternal::StrokeVertexIterator #include "../stroke/StrokeIterators.h" + + #ifdef __cplusplus extern "C" { #endif @@ -57,6 +62,7 @@ PyObject * BPy_BBox_from_BBox( BBox< Vec3r > &bb ); PyObject * BPy_FEdge_from_FEdge( FEdge& fe ); PyObject * BPy_Id_from_Id( Id& id ); PyObject * BPy_Interface0D_from_Interface0D( Interface0D& if0D ); +PyObject * BPy_FrsMaterial_from_Material( Material& m ); PyObject * BPy_Nature_from_Nature( unsigned short n ); PyObject * BPy_MediumType_from_MediumType( int n ); PyObject * BPy_SShape_from_SShape( SShape& ss ); -- cgit v1.2.3