diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface1D')
-rw-r--r-- | source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp b/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp index 369dd7c61a5..0718c18b253 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp @@ -185,7 +185,7 @@ PyObject * FEdge___copy__( BPy_FEdge *self ) { PyObject * FEdge_vertexA( BPy_FEdge *self ) { if( self->fe->vertexA() ){ - return BPy_SVertex_from_SVertex( *(self->fe->vertexA()) ); + return BPy_SVertex_from_SVertex_ptr( self->fe->vertexA() ); } Py_RETURN_NONE; @@ -193,7 +193,7 @@ PyObject * FEdge_vertexA( BPy_FEdge *self ) { PyObject * FEdge_vertexB( BPy_FEdge *self ) { if( self->fe->vertexB() ){ - return BPy_SVertex_from_SVertex( *(self->fe->vertexB()) ); + return BPy_SVertex_from_SVertex_ptr( self->fe->vertexB() ); } Py_RETURN_NONE; @@ -209,7 +209,7 @@ PyObject * FEdge___getitem__( BPy_FEdge *self, PyObject *args ) { } if( SVertex *v = self->fe->operator[](i) ) - return BPy_SVertex_from_SVertex( *v ); + return BPy_SVertex_from_SVertex_ptr( v ); Py_RETURN_NONE; } @@ -230,7 +230,7 @@ PyObject * FEdge_previousEdge( BPy_FEdge *self ) { PyObject * FEdge_viewedge( BPy_FEdge *self ) { if( ViewEdge *ve = self->fe->viewedge() ) - return BPy_ViewEdge_from_ViewEdge( *ve ); + return BPy_ViewEdge_from_ViewEdge_ptr( ve ); Py_RETURN_NONE; } |