mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fixed an issue with the Path2D plugin editor not supporting the capability to split curves as its toolbar buttons originally advertised.
This commit is contained in:
parent
6343d05d9b
commit
bce3599bd7
5 changed files with 96 additions and 12 deletions
|
|
@ -73,6 +73,7 @@ class Path2DEditor : public HBoxContainer {
|
|||
|
||||
bool mirror_handle_angle;
|
||||
bool mirror_handle_length;
|
||||
bool on_edge;
|
||||
|
||||
enum HandleOption {
|
||||
HANDLE_OPTION_ANGLE,
|
||||
|
|
@ -93,6 +94,7 @@ class Path2DEditor : public HBoxContainer {
|
|||
Point2 moving_screen_from;
|
||||
float orig_in_length;
|
||||
float orig_out_length;
|
||||
Vector2 edge_point;
|
||||
|
||||
void _mode_selected(int p_mode);
|
||||
void _handle_option_pressed(int p_option);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue