Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-05-04 11:27:46 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-06-22 12:55:52 +0300
commita0a793c9df47a7b5a1be793bfc01f041c3f3a2ad (patch)
tree007ec1eb7db9ebd3959db5f00cea046ca1903dbe /release/scripts
parent9900e534fe4b2bbe77d403d9df33df477a4a2cb8 (diff)
Curves: Use copied original data for invalid NURBS curves
NURBS curves can be invalid when the order is less than the number of points, or in a few other situations. Currently the evaluated data of an invalid NURBS curve is empty. This is inconvenient because it requires checking for empty curves when it otherwise wouldn't be necessary. This patch replaces that fallback with copying the original data to the evaluated points. This makes conceptual sense too, as if the curve couldn't be evaluated-- which wouldn't necessarily delete it. Usually the UI protects against this happening, but it's currently possible to create an invalid curve with some operations like the delete geometry node. Differential Revision: https://developer.blender.org/D14837
Diffstat (limited to 'release/scripts')
0 files changed, 0 insertions, 0 deletions