diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-27 19:55:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 19:55:48 +0200 |
commit | c12fc4fa048985d159b115bbd3cc400920bdf19e (patch) | |
tree | 7eb88395ce677d8bfd9e90aae49b7931c0b4ec3c | |
parent | 93d42693a3e08ca2686088291f3b580beb043fa5 (diff) | |
parent | 16532f51ef77fb57f6d60545098ce7c90172e573 (diff) |
Merge pull request #42373 from groud/draw_selection_last
Draw selected item on top of everything else
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 3e34d486d5..ef4ba9819f 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -3825,12 +3825,12 @@ void CanvasItemEditor::_draw_viewport() { _draw_grid(); _draw_ruler_tool(); - _draw_selection(); _draw_axis(); if (editor->get_edited_scene()) { _draw_locks_and_groups(editor->get_edited_scene()); _draw_invisible_nodes_positions(editor->get_edited_scene()); } + _draw_selection(); RID ci = viewport->get_canvas_item(); RenderingServer::get_singleton()->canvas_item_add_set_transform(ci, Transform2D()); |