mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #103956 from dugramen/curve-handles-outwards
Path2D prefer control points for outward curve
This commit is contained in:
commit
a5926394d3
2 changed files with 32 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue