diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-30 16:30:55 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-30 16:50:25 +0200 |
commit | 570cdc128f79e6acc4cfb37fa7d1606db9fac198 (patch) | |
tree | ff0dfeba52fbcd1c66135327e07bc32aa4a3188e /modules | |
parent | bc0f5d3dde0f847dffdad927157a209271ced923 (diff) |
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(); } |