Merge pull request #103956 from dugramen/curve-handles-outwards

Path2D prefer control points for outward curve
This commit is contained in:
Thaddeus Crews 2025-03-24 10:01:05 -05:00
commit a5926394d3
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 32 additions and 2 deletions

View file

@ -96,6 +96,10 @@ class Path2DEditor : public HBoxContainer {
Vector2 edge_point;
Vector2 original_mouse_pos;
// Number of control points in range of the last click.
// 0, 1, or 2.
int control_points_in_range = 0;
void _mode_selected(int p_mode);
void _handle_option_pressed(int p_option);
void _cancel_current_action();