summaryrefslogtreecommitdiffstats
path: root/editor/plugins/abstract_polygon_2d_editor.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-13 18:50:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-11-13 18:50:54 -0300
commit7f347cc31a121a059e881d4df52add49642dcca3 (patch)
tree7b7d3c6ddd1d2616ac310272836d032a8865d378 /editor/plugins/abstract_polygon_2d_editor.h
parent65111ba99699a400be1d26ef54ae5580377caabf (diff)
downloadredot-engine-7f347cc31a121a059e881d4df52add49642dcca3.tar.gz
It is now possible to cancel on 2D polygon editor. RMB (previously close) and ESC will cancel polygon. Closes #15474
Diffstat (limited to 'editor/plugins/abstract_polygon_2d_editor.h')
-rw-r--r--editor/plugins/abstract_polygon_2d_editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/abstract_polygon_2d_editor.h b/editor/plugins/abstract_polygon_2d_editor.h
index 00634ba5b8..c03670f254 100644
--- a/editor/plugins/abstract_polygon_2d_editor.h
+++ b/editor/plugins/abstract_polygon_2d_editor.h
@@ -103,6 +103,7 @@ protected:
virtual void _menu_option(int p_option);
void _wip_changed();
void _wip_close();
+ void _wip_cancel();
bool _delete_point(const Vector2 &p_gpoint);
void _notification(int p_what);