diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/curve_nurbs.cc | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/curves_geometry.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/curve_nurbs.cc b/source/blender/blenkernel/intern/curve_nurbs.cc index 31fe5426b5b..0114c0b45f4 100644 --- a/source/blender/blenkernel/intern/curve_nurbs.cc +++ b/source/blender/blenkernel/intern/curve_nurbs.cc @@ -154,7 +154,6 @@ void calculate_basis_cache(const int points_num, BasisCache &basis_cache) { BLI_assert(points_num > 0); - BLI_assert(evaluated_size > 0); const int8_t degree = order - 1; diff --git a/source/blender/blenkernel/intern/curves_geometry.cc b/source/blender/blenkernel/intern/curves_geometry.cc index e31a983e0bb..5bb6a97fa49 100644 --- a/source/blender/blenkernel/intern/curves_geometry.cc +++ b/source/blender/blenkernel/intern/curves_geometry.cc @@ -578,6 +578,8 @@ void CurvesGeometry::ensure_nurbs_basis_cache() const } }); }); + + this->runtime->nurbs_basis_cache_dirty = false; } Span<float3> CurvesGeometry::evaluated_positions() const |