summaryrefslogtreecommitdiff
path: root/scene/3d/occluder_instance_3d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-29 22:30:51 +0200
committerGitHub <noreply@github.com>2022-07-29 22:30:51 +0200
commit15a02c49be7f552eb79512cff7511144023cedbe (patch)
tree009a554dc59b24d78df0b1303f6a7077f075913e /scene/3d/occluder_instance_3d.cpp
parentd8f757c62deb85024047ebb5c28b59633adf9247 (diff)
parentc3606cb5f3ab82248cac0d748bb291aa978b0b58 (diff)
Merge pull request #61647 from KoBeWi/SaverResource
Diffstat (limited to 'scene/3d/occluder_instance_3d.cpp')
-rw-r--r--scene/3d/occluder_instance_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/occluder_instance_3d.cpp b/scene/3d/occluder_instance_3d.cpp
index 66d0a8c4e2..c1c309fdbe 100644
--- a/scene/3d/occluder_instance_3d.cpp
+++ b/scene/3d/occluder_instance_3d.cpp
@@ -670,7 +670,7 @@ OccluderInstance3D::BakeError OccluderInstance3D::bake_scene(Node *p_from_node,
occ->set_arrays(vertices, indices);
- Error err = ResourceSaver::save(p_occluder_path, occ);
+ Error err = ResourceSaver::save(occ, p_occluder_path);
if (err != OK) {
return BAKE_ERROR_CANT_SAVE;