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 /editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp | |
parent | bc0f5d3dde0f847dffdad927157a209271ced923 (diff) | |
download | redot-engine-570cdc128f79e6acc4cfb37fa7d1606db9fac198.tar.gz |
Rename Node's `filename` property to `scene_file_path` for clarity
Diffstat (limited to 'editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp b/editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp index a4436525fb..6df2e34ceb 100644 --- a/editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp +++ b/editor/plugins/gpu_particles_collision_sdf_editor_plugin.cpp @@ -33,7 +33,7 @@ void GPUParticlesCollisionSDFEditorPlugin::_bake() { if (col_sdf) { if (col_sdf->get_texture().is_null() || !col_sdf->get_texture()->get_path().is_resource_file()) { - 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://" + col_sdf->get_name() + "_data.exr"; } else { |