diff options
| author | Juan Linietsky | 2016-09-10 16:44:03 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-09-10 16:44:03 -0300 |
| commit | 491dde2eb46a3d5af60256a21a23d6c32e4bfa46 (patch) | |
| tree | 7bf71d49ec7290294c330508fb59d0f8ca41b6da /tools/editor/plugins/spatial_editor_plugin.cpp | |
| parent | 67d3935eb17110d71235f52d1b2040f06c8f2b23 (diff) | |
| download | godot-491dde2eb46a3d5af60256a21a23d6c32e4bfa46.tar.gz godot-491dde2eb46a3d5af60256a21a23d6c32e4bfa46.tar.zst godot-491dde2eb46a3d5af60256a21a23d6c32e4bfa46.zip | |
Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this.
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index 41956747e..8076a91a3 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -3469,6 +3469,8 @@ void SpatialEditor::_unhandled_key_input(InputEvent p_event) { if (!is_visible() || get_viewport()->gui_has_modal_stack()) return; +#if 0 +//i don't remember this being used { EditorNode *en = editor; @@ -3480,6 +3482,7 @@ void SpatialEditor::_unhandled_key_input(InputEvent p_event) { } } +#endif switch(p_event.type) { |
