diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-01-20 17:35:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 17:35:32 +0100 |
commit | 7e3b92f81feb0597c657d13797e0ebf449ec2d5d (patch) | |
tree | 1ac984c6b5ef5b407518f9690cbdd8044d99f5f1 /scene/3d/voxel_gi.cpp | |
parent | dbd560cb688fed317bfea4d2d630d93e47ac9780 (diff) | |
parent | e962900f2344b4ca797002ddf440625087f63291 (diff) | |
download | redot-engine-7e3b92f81feb0597c657d13797e0ebf449ec2d5d.tar.gz |
Merge pull request #55360 from Calinou/rename-bake-mode-properties
Diffstat (limited to 'scene/3d/voxel_gi.cpp')
-rw-r--r-- | scene/3d/voxel_gi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/voxel_gi.cpp b/scene/3d/voxel_gi.cpp index 35ac1792e9..bfe3c80a4f 100644 --- a/scene/3d/voxel_gi.cpp +++ b/scene/3d/voxel_gi.cpp @@ -282,7 +282,7 @@ Vector3 VoxelGI::get_extents() const { void VoxelGI::_find_meshes(Node *p_at_node, List<PlotMesh> &plot_meshes) { MeshInstance3D *mi = Object::cast_to<MeshInstance3D>(p_at_node); - if (mi && mi->get_gi_mode() == GeometryInstance3D::GI_MODE_BAKED && mi->is_visible_in_tree()) { + if (mi && mi->get_gi_mode() == GeometryInstance3D::GI_MODE_STATIC && mi->is_visible_in_tree()) { Ref<Mesh> mesh = mi->get_mesh(); if (mesh.is_valid()) { AABB aabb = mesh->get_aabb(); |