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-04-08 02:10:05 +0300
committerHans Goudey <h.goudey@me.com>2022-04-08 02:10:29 +0300
commit87a3bf33564b035e4c2400098ea4932d5dfdba5d (patch)
tree3059c7af8196bdc366ae71d399e6b62bae8c6d23 /source/blender/blenkernel/BKE_spline.hh
parent3214028ae822d6b9b1622589d27dd9b9746f2aa8 (diff)
Cleanup: Define new curves normal mode in DNA
Don't include the tangent mode for now, since that was never implemented for geometry nodes curves.
Diffstat (limited to 'source/blender/blenkernel/BKE_spline.hh')
-rw-r--r--source/blender/blenkernel/BKE_spline.hh7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_spline.hh b/source/blender/blenkernel/BKE_spline.hh
index 32330244c08..6cbb47dc709 100644
--- a/source/blender/blenkernel/BKE_spline.hh
+++ b/source/blender/blenkernel/BKE_spline.hh
@@ -51,12 +51,7 @@ using SplinePtr = std::unique_ptr<Spline>;
*/
class Spline {
public:
- enum NormalCalculationMode {
- ZUp,
- Minimum,
- Tangent,
- };
- NormalCalculationMode normal_mode = Minimum;
+ NormalMode normal_mode = NORMAL_MODE_MINIMUM_TWIST;
blender::bke::CustomDataAttributes attributes;