summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2019-12-24 15:17:23 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2019-12-24 21:46:05 +0800
commit078c0d75f2782e3eee5b1b4ed2176687bfd51f20 (patch)
tree564b382ac2f24574ef66c068e19216a5cceda7b2 /modules/gdnative
parentd711c57d767734887fbf0955a7b9902c54498a0d (diff)
Cleans up headers included in editor_node.h
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/gdnative_library_editor_plugin.cpp2
-rw-r--r--modules/gdnative/register_types.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative_library_editor_plugin.cpp b/modules/gdnative/gdnative_library_editor_plugin.cpp
index 5c84222797..78d26dc827 100644
--- a/modules/gdnative/gdnative_library_editor_plugin.cpp
+++ b/modules/gdnative/gdnative_library_editor_plugin.cpp
@@ -32,6 +32,8 @@
#include "gdnative_library_editor_plugin.h"
#include "gdnative.h"
+#include "editor/editor_scale.h"
+
void GDNativeLibraryEditor::edit(Ref<GDNativeLibrary> p_library) {
library = p_library;
Ref<ConfigFile> config = p_library->get_config_file();
diff --git a/modules/gdnative/register_types.cpp b/modules/gdnative/register_types.cpp
index fa59c704d5..818da65fb1 100644
--- a/modules/gdnative/register_types.cpp
+++ b/modules/gdnative/register_types.cpp
@@ -47,6 +47,7 @@
#include "core/project_settings.h"
#ifdef TOOLS_ENABLED
+#include "editor/editor_export.h"
#include "editor/editor_node.h"
#include "gdnative_library_editor_plugin.h"
#include "gdnative_library_singleton_editor.h"