summaryrefslogtreecommitdiff
path: root/editor/plugins/collision_polygon_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-12 16:02:55 +0100
committerGitHub <noreply@github.com>2018-12-12 16:02:55 +0100
commit4d27b1fe4f5e56d53b9fcd13c08b7e2e497b2d8e (patch)
tree9ec9dc9e20dc99e1d9c6cd615d319e52ad8c9cd8 /editor/plugins/collision_polygon_editor_plugin.cpp
parent31349eec8e6ebf725c93b22abc3b98c03433b425 (diff)
parentbce3599bd7de6eb1bd65f5d9589b66e261d0f03c (diff)
Merge pull request #24109 from remorse107/godotengine-path2d-editor-fix
Fixed Path2D Plugin Editor so segments can be split.
Diffstat (limited to 'editor/plugins/collision_polygon_editor_plugin.cpp')
-rw-r--r--editor/plugins/collision_polygon_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/collision_polygon_editor_plugin.cpp b/editor/plugins/collision_polygon_editor_plugin.cpp
index e92a91db7c..9b31f2e24d 100644
--- a/editor/plugins/collision_polygon_editor_plugin.cpp
+++ b/editor/plugins/collision_polygon_editor_plugin.cpp
@@ -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) {