Skip to content

Commit

Permalink
Fix missing initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Mar 3, 2024
1 parent dbbdd7e commit 6e93e7a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
10 changes: 6 additions & 4 deletions terrain/fixed_lod/voxel_terrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,12 @@ void VoxelTerrain::process() {
// TODO This doesn't work with VoxelInstancer because it unloads based on meshes...
nullptr, //
qrb.position, //
0, //
false, //
false, //
false //
0, // lod_index
false, // dropped
false, // max_lod_hint
false, // initial_load
false, // had_instances
true // had_voxels
};
apply_data_block_response(ob);
}
Expand Down
8 changes: 5 additions & 3 deletions terrain/variable_lod/voxel_lod_terrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1302,9 +1302,11 @@ void VoxelLodTerrain::apply_main_thread_update_tasks() {
nullptr, //
qrb.position, //
static_cast<uint8_t>(lod_index), //
false, //
false, //
false //
false, // dropped
false, // max_lod_hint
false, // initial_load
false, // had_instances
true // had_voxels
};
apply_data_block_response(ob);
}
Expand Down

0 comments on commit 6e93e7a

Please sign in to comment.