summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2023-02-21 08:20:31 +0100
committerGitHub <noreply@github.com>2023-02-21 08:20:31 +0100
commitf03784d8f73d65d82e8390ffe849fa65359cb911 (patch)
tree5d21445fe742f290dce576a57425f458c74cad2c /modules
parent8af679da826eac05de198abd593325908db355d0 (diff)
parent1c090d37b495b0bce562c530868db0eabe8710aa (diff)
Merge pull request #73654 from V-Sekai/fbx_base_dir
fbx: Set base_dir correctly in append_from_scene
Diffstat (limited to 'modules')
-rw-r--r--modules/gltf/editor/editor_scene_importer_fbx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/editor/editor_scene_importer_fbx.cpp b/modules/gltf/editor/editor_scene_importer_fbx.cpp
index f8f458fcc7..5e7a8f4e69 100644
--- a/modules/gltf/editor/editor_scene_importer_fbx.cpp
+++ b/modules/gltf/editor/editor_scene_importer_fbx.cpp
@@ -93,7 +93,7 @@ Node *EditorSceneFormatImporterFBX::import_scene(const String &p_path, uint32_t
Ref<GLTFState> state;
state.instantiate();
print_verbose(vformat("glTF path: %s", sink));
- Error err = gltf->append_from_file(sink, state, p_flags);
+ Error err = gltf->append_from_file(sink, state, p_flags, p_path.get_base_dir());
if (err != OK) {
if (r_err) {
*r_err = FAILED;