diff options
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Stroke.h')
-rwxr-xr-x | source/blender/freestyle/intern/stroke/Stroke.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/stroke/Stroke.h b/source/blender/freestyle/intern/stroke/Stroke.h index a6a025e44a0..796b5dc9e2d 100755 --- a/source/blender/freestyle/intern/stroke/Stroke.h +++ b/source/blender/freestyle/intern/stroke/Stroke.h @@ -52,8 +52,6 @@ class LIB_STROKE_EXPORT StrokeAttribute { public: - PyObject *py_sa; - /*! default constructor */ StrokeAttribute(); /*! Copy constructor */ @@ -550,7 +548,7 @@ public: inline unsigned int strokeVerticesSize() const {return _Vertices.size();} /*! Returns the i-th StrokeVertex constituting the Stroke. */ - inline StrokeVertex* strokeVerticeAt(unsigned int i) {return _Vertices.at(i);} + inline StrokeVertex& strokeVerticeAt(unsigned int i) {return *(_Vertices.at(i));} // Iterator access (Interface1D) /*! Returns an Interface0DIterator pointing on the first StrokeVertex of the |