Cleanup: fix compiler warning
This commit is contained in:
parent
6f8e65cd7a
commit
178f4fa71e
Notes:
blender-bot
2023-02-14 08:33:26 +01:00
Referenced by issue #96242, CRASH: conecting spline length to resample curve
|
@ -176,7 +176,7 @@ static void node_geo_exec(GeoNodeExecParams params)
|
|||
const GeometryNodeCurvePrimitiveCircleMode mode = (GeometryNodeCurvePrimitiveCircleMode)
|
||||
storage.mode;
|
||||
|
||||
Curves *curves;
|
||||
Curves *curves = nullptr;
|
||||
if (mode == GEO_NODE_CURVE_PRIMITIVE_CIRCLE_TYPE_POINTS) {
|
||||
float3 center_point;
|
||||
curves = create_point_circle_curve(params.extract_input<float3>("Point 1"),
|
||||
|
|
Loading…
Reference in New Issue