diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-30 17:59:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 17:59:56 +0200 |
commit | 5b7ec95de7e9783d880eeb76b9a172085b1117a9 (patch) | |
tree | 136aa80356794489e4030a1811166d712eb07dff /modules | |
parent | 50bb0896fa05563b2dffc455955993dc983f03b4 (diff) | |
parent | 570cdc128f79e6acc4cfb37fa7d1606db9fac198 (diff) |
Merge pull request #53254 from Calinou/node-rename-filename
Rename Node's `filename` property to `scene_file_path` for clarity
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gltf/editor_scene_exporter_gltf_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/editor_scene_exporter_gltf_plugin.cpp b/modules/gltf/editor_scene_exporter_gltf_plugin.cpp index fd9f758f10..3ce5ea23dc 100644 --- a/modules/gltf/editor_scene_exporter_gltf_plugin.cpp +++ b/modules/gltf/editor_scene_exporter_gltf_plugin.cpp @@ -86,7 +86,7 @@ void SceneExporterGLTFPlugin::convert_scene_to_gltf2() { editor->show_accept(TTR("This operation can't be done without a scene."), TTR("OK")); return; } - String filename = String(root->get_filename().get_file().get_basename()); + String filename = String(root->get_scene_file_path().get_file().get_basename()); if (filename.is_empty()) { filename = root->get_name(); } |