You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Rename Node's filename property to scene_file_path for clarity
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user