Fix: Incorrect curves asset in recent commit

Mistake in f63a7c1ee9
This commit is contained in:
Hans Goudey 2023-12-21 10:54:26 -05:00
parent da6867ca3b
commit ebb9cf21ec
1 changed files with 1 additions and 1 deletions

View File

@ -951,7 +951,7 @@ void CurvesGeometry::interpolate_to_evaluated(const int curve_index,
this->nurbs_orders(),
this->nurbs_weights(),
};
BLI_assert(src.size() == this->points_by_curve().size());
BLI_assert(src.size() == this->points_by_curve()[curve_index].size());
BLI_assert(dst.size() == this->evaluated_points_by_curve()[curve_index].size());
evaluate_generic_data_for_curve(eval_data, curve_index, src, dst);
}