mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this.
This commit is contained in:
parent
67d3935eb1
commit
491dde2eb4
14 changed files with 95 additions and 39 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue