From 9d185ccc30ad5fe7eb716390ca2e7f5c06574ce0 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 6 Aug 2015 02:37:40 -0300 Subject: -Merged the file server with the live editing and remote debug -It is now really easy to deploy an android build with debug, and debug it --- tools/editor/fileserver/editor_file_server.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'tools/editor/fileserver') diff --git a/tools/editor/fileserver/editor_file_server.cpp b/tools/editor/fileserver/editor_file_server.cpp index b66a1d522b..ea95e4da1c 100644 --- a/tools/editor/fileserver/editor_file_server.cpp +++ b/tools/editor/fileserver/editor_file_server.cpp @@ -318,27 +318,7 @@ EditorFileServer::EditorFileServer() { cmd=CMD_NONE; thread=Thread::create(_thread_start,this); - List local_ip; - IP::get_singleton()->get_local_addresses(&local_ip); EDITOR_DEF("file_server/port",6010); - String lip; - String hint; - for(List::Element *E=local_ip.front();E;E=E->next()) { - - String ip = E->get(); - if (ip=="127.0.0.1") - continue; - - if (lip!="") - lip=ip; - if (hint!="") - hint+=","; - hint+=ip; - - } - - EDITOR_DEF("file_server/host",lip); - EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING,"file_server/host",PROPERTY_HINT_ENUM,hint)); EDITOR_DEF("file_server/password",""); } -- cgit v1.2.3