summaryrefslogtreecommitdiff
path: root/editor/plugins/voxel_gi_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-30 17:59:56 +0200
committerGitHub <noreply@github.com>2021-09-30 17:59:56 +0200
commit5b7ec95de7e9783d880eeb76b9a172085b1117a9 (patch)
tree136aa80356794489e4030a1811166d712eb07dff /editor/plugins/voxel_gi_editor_plugin.cpp
parent50bb0896fa05563b2dffc455955993dc983f03b4 (diff)
parent570cdc128f79e6acc4cfb37fa7d1606db9fac198 (diff)
Merge pull request #53254 from Calinou/node-rename-filename
Rename Node's `filename` property to `scene_file_path` for clarity
Diffstat (limited to 'editor/plugins/voxel_gi_editor_plugin.cpp')
-rw-r--r--editor/plugins/voxel_gi_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/voxel_gi_editor_plugin.cpp b/editor/plugins/voxel_gi_editor_plugin.cpp
index 5bbc0c9dd5..9a44d40dcb 100644
--- a/editor/plugins/voxel_gi_editor_plugin.cpp
+++ b/editor/plugins/voxel_gi_editor_plugin.cpp
@@ -33,7 +33,7 @@
void VoxelGIEditorPlugin::_bake() {
if (voxel_gi) {
if (voxel_gi->get_probe_data().is_null()) {
- String path = get_tree()->get_edited_scene_root()->get_filename();
+ String path = get_tree()->get_edited_scene_root()->get_scene_file_path();
if (path == String()) {
path = "res://" + voxel_gi->get_name() + "_data.res";
} else {