Rename and reorder bake mode properties for consistency
The order now goes from least to most computationally expensive: - Disabled - Static - Dynamic
This commit is contained in:
parent
80e292b3e0
commit
e962900f23
16 changed files with 37 additions and 33 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue