diff options
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r-- | tools/editor/plugins/canvas_item_editor_plugin.cpp | 2 | ||||
-rw-r--r-- | tools/editor/plugins/shader_editor_plugin.cpp | 2 | ||||
-rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp index 5144092402..74c1d0d825 100644 --- a/tools/editor/plugins/canvas_item_editor_plugin.cpp +++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp @@ -2245,7 +2245,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { //zoom=0.5; singleton=this; editor->get_animation_editor()->connect("keying_changed",this,"_keying_changed"); - add_to_group("unhandled_key_input"); + set_process_unhandled_key_input(true); can_move_pivot=false; pixel_snap=false; drag=DRAG_NONE; diff --git a/tools/editor/plugins/shader_editor_plugin.cpp b/tools/editor/plugins/shader_editor_plugin.cpp index 4670005cf4..9b6b07dc2e 100644 --- a/tools/editor/plugins/shader_editor_plugin.cpp +++ b/tools/editor/plugins/shader_editor_plugin.cpp @@ -153,7 +153,7 @@ void ShaderTextEditor::_validate_script() { void ShaderTextEditor::_bind_methods() { - ADD_SIGNAL( MethodInfo("script_changed") ); + //ADD_SIGNAL( MethodInfo("script_changed") ); } diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index 8161025731..98108c2de7 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -3334,7 +3334,7 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { scenario_debug=VisualServer::SCENARIO_DEBUG_DISABLED; - add_to_group("unhandled_key_input"); + set_process_unhandled_key_input(true); add_to_group("_spatial_editor_group"); } |