aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/polygon_2d_editor_plugin.cpp
diff options
context:
space:
mode:
authorHubert Jarosz2016-03-09 00:00:52 +0100
committerRémi Verschelde2016-04-02 22:03:48 +0200
commit424a1046664eb1dc8138ccb886ba1c1967c3caa4 (patch)
tree650074feb39a8237875bfa0ef0ea842e8d96f41c /tools/editor/plugins/polygon_2d_editor_plugin.cpp
parent830947feafc5e3af452296ff80a6418e9c56c5d2 (diff)
downloadgodot-424a1046664eb1dc8138ccb886ba1c1967c3caa4.tar.gz
godot-424a1046664eb1dc8138ccb886ba1c1967c3caa4.tar.zst
godot-424a1046664eb1dc8138ccb886ba1c1967c3caa4.zip
remove trailing whitespace
(cherry picked from commit 4a4f2479146aa33e235ed57cde311efda68d3c8f)
Diffstat (limited to 'tools/editor/plugins/polygon_2d_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/polygon_2d_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.cpp b/tools/editor/plugins/polygon_2d_editor_plugin.cpp
index 3e9c58d60..849fe8264 100644
--- a/tools/editor/plugins/polygon_2d_editor_plugin.cpp
+++ b/tools/editor/plugins/polygon_2d_editor_plugin.cpp
@@ -69,7 +69,7 @@ void Polygon2DEditor::_node_removed(Node *p_node) {
if(p_node==node) {
edit(NULL);
hide();
-
+
canvas_item_editor->get_viewport_control()->update();
}
@@ -760,7 +760,7 @@ void Polygon2DEditor::edit(Node *p_collision_polygon) {
node=p_collision_polygon->cast_to<Polygon2D>();
if (!canvas_item_editor->get_viewport_control()->is_connected("draw",this,"_canvas_draw"))
canvas_item_editor->get_viewport_control()->connect("draw",this,"_canvas_draw");
-
+
wip.clear();
wip_active=false;
edited_point=-1;