blender/source
Hans Goudey 5c5089d651 Fix: Small changes to USD and Alembic curves import
Make both importers work the same way: first building an array
of the new offsets, then comparing the offsets to check if the
topology changed. Previously the USD importer incorrectly
compared curve offsets to USD point counts.

Also:
- Don't unnecessarily set the resolution to the incorrect default.
  The default for the curves system is 12. But it's unnecessary to
  fill the attribute to the default value anyway.
- Use some helper methods to iterate over all curves.
- Use float literal instead of integer.
- Use cast and `copy_from` for positions copy
- Pass Span by value

Pull Request: https://projects.blender.org/blender/blender/pulls/118829
2024-02-28 05:05:53 +01:00
..
blender Fix: Small changes to USD and Alembic curves import 2024-02-28 05:05:53 +01:00
creator CMake: MSVC: Add natvis file for blender's native types 2024-02-27 01:02:42 +01:00
CMakeLists.txt CMake: add option to disable pre-compiled headers 2024-02-21 10:35:20 +11:00