diff options
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Convert.cpp | 2 | ||||
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Convert.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Convert.cpp b/source/blender/freestyle/intern/python/BPy_Convert.cpp index 59cee23409f..00f2aa7e0c6 100644 --- a/source/blender/freestyle/intern/python/BPy_Convert.cpp +++ b/source/blender/freestyle/intern/python/BPy_Convert.cpp @@ -281,7 +281,7 @@ PyObject * BPy_TVertex_from_TVertex( TVertex& tv ) { return py_tv; } -PyObject * BPy_BBox_from_BBox( BBox< Vec3r > &bb ) { +PyObject * BPy_BBox_from_BBox(const BBox< Vec3r > &bb) { PyObject *py_bb = BBox_Type.tp_new( &BBox_Type, 0, 0 ); ((BPy_BBox *) py_bb)->bb = new BBox< Vec3r >( bb ); diff --git a/source/blender/freestyle/intern/python/BPy_Convert.h b/source/blender/freestyle/intern/python/BPy_Convert.h index 7089b4683f1..6082d70695e 100644 --- a/source/blender/freestyle/intern/python/BPy_Convert.h +++ b/source/blender/freestyle/intern/python/BPy_Convert.h @@ -78,7 +78,7 @@ PyObject * Any_BPy_Interface1D_from_Interface1D( Interface1D& if1D ); PyObject * Any_BPy_FEdge_from_FEdge( FEdge& fe ); PyObject * Any_BPy_ViewVertex_from_ViewVertex( ViewVertex& vv ); -PyObject * BPy_BBox_from_BBox( BBox< Vec3r > &bb ); +PyObject * BPy_BBox_from_BBox(const BBox< Vec3r > &bb); PyObject * BPy_CurvePoint_from_CurvePoint( CurvePoint& cp ); PyObject * BPy_directedViewEdge_from_directedViewEdge( ViewVertex::directedViewEdge& dve ); PyObject * BPy_FEdge_from_FEdge( FEdge& fe ); |