Cleanup: Curves: Remove redundant resizing in extrude operator #117166

Merged
Pratik Borhade merged 1 commits from PratikPB2123/blender:curves-extrude-resize into main 2024-01-17 12:32:02 +01:00
1 changed files with 0 additions and 1 deletions

View File

@ -248,7 +248,6 @@ static void extrude_curves(Curves &curves_id)
const int curves_num = curves.curves_num();
const int curve_intervals_size = extruded_points.size() * 2 + curves_num * 2;
new_curves.resize(0, curves_num);
MutableSpan<int> new_offsets = new_curves.offsets_for_write();
/* Buffer for intervals of all curves. Beginning and end of a curve can be determined only by