mirror of
https://github.com/godotengine/godot
synced 2024-09-04 21:58:28 +00:00
fbx: Set base_dir correctly in append_from_scene
This commit is contained in:
parent
9c960a8c24
commit
1c090d37b4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue