diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-01 01:20:37 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-01 01:20:37 +0300 |
commit | 6594e802ab94ff1124d9157deb0ca760981e3f34 (patch) | |
tree | de2cfd494461690bb62b28512f686b8d21d0ae8f /source/blender/blenkernel/BKE_curves.hh | |
parent | 4c407f20a62c7d437a9b3f2498b658f968102573 (diff) |
Curves: Add method to access cyclic attribute
Avoids the need to use the attribute API to access this commonly
used builtin attribute.
Diffstat (limited to 'source/blender/blenkernel/BKE_curves.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_curves.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_curves.hh b/source/blender/blenkernel/BKE_curves.hh index 209f892c651..6fa7de49eb0 100644 --- a/source/blender/blenkernel/BKE_curves.hh +++ b/source/blender/blenkernel/BKE_curves.hh @@ -119,6 +119,9 @@ class CurvesGeometry : public ::CurvesGeometry { Span<int> offsets() const; MutableSpan<int> offsets(); + VArray<bool> cyclic() const; + MutableSpan<bool> cyclic(); + /* -------------------------------------------------------------------- * Operations. */ |