Merge pull request #104058 from dugramen/path3d-outwards-curve

Path3D prefer control points for outward curve
This commit is contained in:
Rémi Verschelde
2025-03-28 14:32:25 +01:00
2 changed files with 32 additions and 1 deletions

View File

@@ -61,6 +61,10 @@ class Path3DGizmo : public EditorNode3DGizmo {
mutable float orig_out_length;
mutable float disk_size = 0.8;
// Index that should have swapped control points for achieving an outwards curve.
int swapped_control_points_idx = -1;
bool control_points_overlapped = false;
// Cache information of secondary handles.
Vector<HandleInfo> _secondary_handles_info;