Skip to content

Commit

Permalink
Merge pull request #89565 from AThousandShips/no_3d_fix_3_x
Browse files Browse the repository at this point in the history
[3.x] Fix building with `disable_3d`
  • Loading branch information
lawnjelly authored Mar 16, 2024
2 parents bbd9578 + 0f6d2c3 commit ac7292f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/resources/world.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,11 @@ void World::get_camera_list(List<Camera *> *r_cameras) {
}

void World::notify_saving(bool p_active) {
#ifndef _3D_DISABLED
if (lod_manager) {
lod_manager->notify_saving(p_active);
}
#endif
}

void World::_bind_methods() {
Expand Down

0 comments on commit ac7292f

Please sign in to comment.