1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

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
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();