mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Path3D prefer control points for outward curve
This commit is contained in:
parent
30bb49ec1f
commit
8bef789ca6
2 changed files with 32 additions and 1 deletions
|
|
@ -60,6 +60,10 @@ class Path3DGizmo : public EditorNode3DGizmo {
|
|||
mutable float orig_out_length;
|
||||
mutable float disk_size = 0.8;
|
||||
|
||||
// Index that should have swapped control points for achieving an outwards curve.
|
||||
int swapped_control_points_idx = -1;
|
||||
bool control_points_overlapped = false;
|
||||
|
||||
// Cache information of secondary handles.
|
||||
Vector<HandleInfo> _secondary_handles_info;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue