Build: unbreak building WITH_OPENVDB=OFF
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user