1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Path2D prefer control points for outward curve

This commit is contained in:
dugramen
2025-03-11 00:29:02 -04:00
parent 30bb49ec1f
commit 4fbf38d091
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();