aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/collision_shape_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/collision_shape_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/collision_shape_2d_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/collision_shape_2d_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/collision_shape_2d_editor_plugin.cpp b/tools/editor/plugins/collision_shape_2d_editor_plugin.cpp
index 7e5d52d17..1916d55ee 100644
--- a/tools/editor/plugins/collision_shape_2d_editor_plugin.cpp
+++ b/tools/editor/plugins/collision_shape_2d_editor_plugin.cpp
@@ -451,11 +451,11 @@ void CollisionShape2DEditor::_canvas_draw() {
case LINE_SHAPE: {
Ref<LineShape2D> shape = node->get_shape();
-
+
handles.resize(2);
handles[0] = shape->get_normal() * shape->get_d();
handles[1] = shape->get_normal() * (shape->get_d() + 30.0);
-
+
c->draw_texture(h,gt.xform(handles[0])-size);
c->draw_texture(h,gt.xform(handles[1])-size);