1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10: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:
Robert Morse
2018-12-01 14:45:54 -06:00
parent 6343d05d9b
commit bce3599bd7
5 changed files with 96 additions and 12 deletions

View File

@@ -144,7 +144,7 @@ bool Polygon3DEditor::forward_spatial_gui_input(Camera *p_camera, const Ref<Inpu
Vector<Vector2> poly = node->call("get_polygon");
//first check if a point is to be added (segment split)
real_t grab_threshold = EDITOR_DEF("editors/poly_editor/point_grab_radius", 8);
real_t grab_threshold = EDITOR_GET("editors/poly_editor/point_grab_radius");
switch (mode) {