summaryrefslogtreecommitdiff
path: root/modules/fbx/editor_scene_importer_fbx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fbx/editor_scene_importer_fbx.cpp')
-rw-r--r--modules/fbx/editor_scene_importer_fbx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/editor_scene_importer_fbx.cpp b/modules/fbx/editor_scene_importer_fbx.cpp
index 4cca907bf2..758c47eecc 100644
--- a/modules/fbx/editor_scene_importer_fbx.cpp
+++ b/modules/fbx/editor_scene_importer_fbx.cpp
@@ -123,7 +123,7 @@ Node3D *EditorSceneFormatImporterFBX::import_scene(const String &p_path, uint32_
bool corrupt = false;
// safer to check this way as there can be different formatted headers
- if (fbx_header_string.find("Kaydara FBX Binary", 0) != -1) {
+ if (fbx_header_string.contains("Kaydara FBX Binary")) {
is_binary = true;
print_verbose("[doc] is binary");