summaryrefslogtreecommitdiff
path: root/modules/gltf/structures/gltf_camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/structures/gltf_camera.cpp')
-rw-r--r--modules/gltf/structures/gltf_camera.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gltf/structures/gltf_camera.cpp b/modules/gltf/structures/gltf_camera.cpp
index 212b9b80c8..7a5ab2763c 100644
--- a/modules/gltf/structures/gltf_camera.cpp
+++ b/modules/gltf/structures/gltf_camera.cpp
@@ -30,6 +30,8 @@
#include "gltf_camera.h"
+#include "scene/3d/camera_3d.h"
+
void GLTFCamera::_bind_methods() {
ClassDB::bind_static_method("GLTFCamera", D_METHOD("from_node", "camera_node"), &GLTFCamera::from_node);
ClassDB::bind_method(D_METHOD("to_node"), &GLTFCamera::to_node);