Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-03-01 01:20:37 +0300
committerHans Goudey <h.goudey@me.com>2022-03-01 01:20:37 +0300
commit6594e802ab94ff1124d9157deb0ca760981e3f34 (patch)
treede2cfd494461690bb62b28512f686b8d21d0ae8f /source/blender/blenkernel/BKE_curves.hh
parent4c407f20a62c7d437a9b3f2498b658f968102573 (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.hh3
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.
*/