summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-30 16:30:55 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-30 16:50:25 +0200
commit570cdc128f79e6acc4cfb37fa7d1606db9fac198 (patch)
treeff0dfeba52fbcd1c66135327e07bc32aa4a3188e /modules
parentbc0f5d3dde0f847dffdad927157a209271ced923 (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.cpp2
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();
}