summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2019-02-24 21:44:00 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2019-03-20 20:44:43 +0100
commit4db0f51b9aa76cfc7649787fe1970af606ce8dab (patch)
treef7d94d81e8de8bde54db97aebbe858d2663cc340 /main
parentfb37284c027b494ed3ec21124001fcb729f42cc4 (diff)
Create live view dock [wip]
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 0871b12338..517e71ff76 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -75,6 +75,7 @@
#include "editor/doc/doc_data_class_path.gen.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
+#include "editor/live_view.h"
#include "editor/project_manager.h"
#endif
@@ -811,6 +812,10 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
}
#ifdef TOOLS_ENABLED
+ if (script_debugger) {
+ script_debugger->set_request_framebuffer_message_func(LiveViewDebugHelper::_debugger_request_framebuffer, NULL);
+ }
+
if (editor) {
packed_data->set_disabled(true);
globals->set_disable_feature_overrides(true);