Return null instead of an empty curves data-block, which amounts to the same thing in geometry nodes, with less potential for error in the rest of the function.
Return null instead of an empty curves data-block, which amounts to the same thing in geometry nodes, with less potential for error in the rest of the function.