aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/path_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-01-14 18:03:38 +0100
committerRémi Verschelde2017-01-16 08:49:52 +0100
commitf44ee891beaad397481dd88da41cb80e6539774f (patch)
tree82ce10e73d3b1da6229618ce93222ee49e34841b /tools/editor/plugins/path_editor_plugin.cpp
parente2a3f06f3d0c49d87b86c12407d69174b58ae448 (diff)
downloadgodot-f44ee891beaad397481dd88da41cb80e6539774f.tar.gz
godot-f44ee891beaad397481dd88da41cb80e6539774f.tar.zst
godot-f44ee891beaad397481dd88da41cb80e6539774f.zip
Style: Fix statements ending with ';;'
Diffstat (limited to 'tools/editor/plugins/path_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/path_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/path_editor_plugin.cpp b/tools/editor/plugins/path_editor_plugin.cpp
index fc914097e..2e148d648 100644
--- a/tools/editor/plugins/path_editor_plugin.cpp
+++ b/tools/editor/plugins/path_editor_plugin.cpp
@@ -377,7 +377,7 @@ bool PathEditorPlugin::forward_spatial_gui_input(Camera* p_camera,const InputEve
ur->create_action(TTR("Split Path"));
ur->add_do_method(c.ptr(),"add_point",closest_seg_point,Vector3(),Vector3(),closest_seg+1);
ur->add_undo_method(c.ptr(),"remove_point",closest_seg+1);
- ur->commit_action();;
+ ur->commit_action();
return true;
} else {
@@ -397,7 +397,7 @@ bool PathEditorPlugin::forward_spatial_gui_input(Camera* p_camera,const InputEve
ur->create_action(TTR("Add Point to Curve"));
ur->add_do_method(c.ptr(),"add_point",it.xform(inters),Vector3(),Vector3(),-1);
ur->add_undo_method(c.ptr(),"remove_point",c->get_point_count());
- ur->commit_action();;
+ ur->commit_action();
return true;
}