summaryrefslogtreecommitdiffstats
path: root/tools/editor/fileserver/editor_file_server.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-08-06 02:37:40 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-08-06 02:37:40 -0300
commit9d185ccc30ad5fe7eb716390ca2e7f5c06574ce0 (patch)
treef497a42db3bc171e52cc60996ddb92f9d09a313b /tools/editor/fileserver/editor_file_server.cpp
parent8280bb0de0737f9149face902db21192a0d98ca8 (diff)
downloadredot-engine-9d185ccc30ad5fe7eb716390ca2e7f5c06574ce0.tar.gz
-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
Diffstat (limited to 'tools/editor/fileserver/editor_file_server.cpp')
-rw-r--r--tools/editor/fileserver/editor_file_server.cpp20
1 files changed, 0 insertions, 20 deletions
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<IP_Address> local_ip;
- IP::get_singleton()->get_local_addresses(&local_ip);
EDITOR_DEF("file_server/port",6010);
- String lip;
- String hint;
- for(List<IP_Address>::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","");
}