Fix T89302: Broken normals after mesh to curve node
The normals were broken because the normal calculation mode wasn't set. This patch adds a default normal mode so all code creating a spline does not necessarily have to set it manually. In the future there should be a way to change this value in the node tree.
This commit is contained in:
parent
eee3529eaf
commit
2d75b39b64
Notes:
blender-bot
2023-02-14 07:31:32 +01:00
Referenced by issue #89302, Curve profile is broken after converting mesh to curves
|
@ -72,8 +72,7 @@ class Spline {
|
|||
Minimum,
|
||||
Tangent,
|
||||
};
|
||||
/* Only #Zup is supported at the moment. */
|
||||
NormalCalculationMode normal_mode;
|
||||
NormalCalculationMode normal_mode = Minimum;
|
||||
|
||||
blender::bke::CustomDataAttributes attributes;
|
||||
|
||||
|
|
Loading…
Reference in New Issue