Fix web export state for remote debug
This commit is contained in:
parent
95110ddcb4
commit
1e8e9f4b09
2 changed files with 89 additions and 35 deletions
|
|
@ -46,19 +46,19 @@
|
|||
class EditorExportPlatformWeb : public EditorExportPlatform {
|
||||
GDCLASS(EditorExportPlatformWeb, EditorExportPlatform);
|
||||
|
||||
enum HTTPServerState {
|
||||
HTTP_SERVER_STATE_OFF,
|
||||
HTTP_SERVER_STATE_ON,
|
||||
enum RemoteDebugState {
|
||||
REMOTE_DEBUG_STATE_UNAVAILABLE,
|
||||
REMOTE_DEBUG_STATE_AVAILABLE,
|
||||
REMOTE_DEBUG_STATE_SERVING,
|
||||
};
|
||||
|
||||
Ref<ImageTexture> logo;
|
||||
Ref<ImageTexture> run_icon;
|
||||
Ref<ImageTexture> stop_icon;
|
||||
Ref<ImageTexture> restart_icon;
|
||||
HTTPServerState server_state = HTTP_SERVER_STATE_OFF;
|
||||
RemoteDebugState remote_debug_state = REMOTE_DEBUG_STATE_UNAVAILABLE;
|
||||
|
||||
Ref<EditorHTTPServer> server;
|
||||
int menu_options = 0;
|
||||
|
||||
String _get_template_name(bool p_extension, bool p_thread_support, bool p_debug) const {
|
||||
String name = "web";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue