This commit ports the "Set Spline Type" node to the new curves data-block.
Performance should be improved in similar ways to the other refactors from
the conversion task (T95443). The refactor has a few other explicit goals as well:
- Don't count on initialization of attribute arrays when they are first allocated
- Avoid copying the entire data-block when possible
- Make decisions about which attributes to copy when changing curves more obvious
- Use higher-level methods to copy data between curve points
- Optimize for the common cases of single types and full selections
- Process selected curves of the same types in the same loop
NURBS conversion changes are written by Piotr Makal (@Piotr Makal (pmakal)), thanks!
