Build: unbreak building WITH_OPENVDB=OFF

This commit is contained in:
Campbell Barton
2025-10-01 21:45:21 +00:00
parent dde9d21b91
commit 74a7cd4d41

View File

@@ -509,6 +509,8 @@ std::string error_message_from_load(const VolumeGridData &grid)
#endif
}
#ifdef WITH_OPENVDB
/**
* Call #process_leaf_fn on the leaf node if it has a certain minimum number of active voxels. If
* there are only a few active voxels, gather those in #r_coords for later batch processing.
@@ -733,4 +735,6 @@ void set_grid_background(openvdb::GridBase &grid_base, const GPointer value)
});
}
#endif /* WITH_OPENVDB */
} // namespace blender::bke::volume_grid