summaryrefslogtreecommitdiffstats
path: root/modules/gltf/editor_scene_importer_gltf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/editor_scene_importer_gltf.cpp')
-rw-r--r--modules/gltf/editor_scene_importer_gltf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gltf/editor_scene_importer_gltf.cpp b/modules/gltf/editor_scene_importer_gltf.cpp
index 12796c41d7..25875e7396 100644
--- a/modules/gltf/editor_scene_importer_gltf.cpp
+++ b/modules/gltf/editor_scene_importer_gltf.cpp
@@ -28,6 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+#if TOOLS_ENABLED
#include "editor_scene_importer_gltf.h"
#include "gltf_document.h"
@@ -60,3 +61,5 @@ Ref<Animation> EditorSceneImporterGLTF::import_animation(const String &p_path,
int p_bake_fps) {
return Ref<Animation>();
}
+
+#endif // TOOLS_ENABLED