aboutsummaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/editor_file_system.cpp6
-rw-r--r--tools/editor/editor_help.cpp2
-rw-r--r--tools/editor/editor_node.cpp2
-rw-r--r--tools/editor/editor_settings.cpp2
-rw-r--r--tools/editor/plugins/canvas_item_editor_plugin.cpp2
-rw-r--r--tools/editor/plugins/shader_editor_plugin.cpp2
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp2
-rw-r--r--tools/editor/scene_tree_dock.cpp2
8 files changed, 9 insertions, 11 deletions
diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp
index 861b6a9e3..daba52be0 100644
--- a/tools/editor/editor_file_system.cpp
+++ b/tools/editor/editor_file_system.cpp
@@ -630,7 +630,7 @@ void EditorFileSystem::scan_sources() {
s.priority=Thread::PRIORITY_LOW;
thread_sources = Thread::create(_thread_func_sources,this,s);
//tree->hide();
- print_line("SCAN BEGIN!");
+ //print_line("SCAN BEGIN!");
//progress->show();
}
@@ -724,7 +724,7 @@ void EditorFileSystem::_notification(int p_what) {
Thread::wait_to_finish(thread_sources);
memdelete(thread_sources);
thread_sources=NULL;
- print_line("sources changed: "+itos(sources_changed.size()));
+ //print_line("sources changed: "+itos(sources_changed.size()));
emit_signal("sources_changed",sources_changed.size()>0);
}
} else if (!scanning) {
@@ -748,7 +748,7 @@ void EditorFileSystem::_notification(int p_what) {
thread=NULL;
emit_signal("filesystem_changed");
emit_signal("sources_changed",sources_changed.size()>0);
- print_line("initial sources changed: "+itos(sources_changed.size()));
+ //print_line("initial sources changed: "+itos(sources_changed.size()));
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp
index 75b902dc6..19e65f384 100644
--- a/tools/editor/editor_help.cpp
+++ b/tools/editor/editor_help.cpp
@@ -1333,7 +1333,7 @@ EditorHelp::EditorHelp(EditorNode *p_editor) {
history_pos=0;
scroll_locked=false;
select_locked=false;
- add_to_group("unhandled_key_input");
+ set_process_unhandled_key_input(true);
h_split->set_split_offset(200);
class_list->connect("cell_selected",this,"_tree_item_selected");
class_desc->hide();
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index efb0f7223..9429c1618 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -2708,8 +2708,6 @@ Error EditorNode::load_scene(const String& p_scene) {
return ERR_FILE_NOT_FOUND;
}
- print_line("OPEN FILENAME: "+new_scene->get_filename());
-
/*
Node *old_scene = edited_scene;
_hide_top_editors();
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp
index 6d3384d0f..e09e090b1 100644
--- a/tools/editor/editor_settings.cpp
+++ b/tools/editor/editor_settings.cpp
@@ -321,7 +321,7 @@ void EditorSettings::scan_plugins() {
d->list_dir_begin();
String base = d->get_current_dir();
- print_line("list diring on: "+base);
+ //print_line("list diring on: "+base);
while(true) {
String p = d->get_next();
if (p=="")
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp
index 514409240..74c1d0d82 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 4670005cf..9b6b07dc2 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 816102573..98108c2de 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");
}
diff --git a/tools/editor/scene_tree_dock.cpp b/tools/editor/scene_tree_dock.cpp
index 9a43cbfe5..1810139f2 100644
--- a/tools/editor/scene_tree_dock.cpp
+++ b/tools/editor/scene_tree_dock.cpp
@@ -1196,7 +1196,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor,Node *p_scene_root,EditorSelec
file = memnew( FileDialog );
add_child(file);
file->connect("file_selected",this,"instance");
- add_to_group("unhandled_key_input");
+ set_process_unhandled_key_input(true);
delete_dialog = memnew( ConfirmationDialog );
add_child(delete_dialog);