diff options
author | Robert Morse <robertmorse107@gmail.com> | 2018-12-01 14:45:54 -0600 |
---|---|---|
committer | Robert Morse <robertmorse107@gmail.com> | 2018-12-07 08:27:36 -0600 |
commit | bce3599bd7de6eb1bd65f5d9589b66e261d0f03c (patch) | |
tree | 9f985a151507f3e2efe5ebd93dc970e93e954efb /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | 6343d05d9b812ef0fa4388ff796077b15bb39f0d (diff) |
Fixed an issue with the Path2D plugin editor not supporting the capability to split curves as its toolbar buttons originally advertised.
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 8d9872236c..c272f8d756 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -456,7 +456,7 @@ void CanvasItemEditor::_find_canvas_items_at_pos(const Point2 &p_pos, Node *p_no if (Object::cast_to<Viewport>(p_node)) return; - const real_t grab_distance = EDITOR_DEF("editors/poly_editor/point_grab_radius", 8); + const real_t grab_distance = EDITOR_GET("editors/poly_editor/point_grab_radius"); CanvasItem *canvas_item = Object::cast_to<CanvasItem>(p_node); for (int i = p_node->get_child_count() - 1; i >= 0; i--) { |