Fix: Build error with OpenVDB disabled

This commit is contained in:
Hans Goudey
2025-10-02 11:18:36 -04:00
parent 50748d3099
commit 946b3498b3
4 changed files with 12 additions and 4 deletions

View File

@@ -6,7 +6,9 @@
#include "node_geometry_util.hh"
#include "openvdb/tools/GridOperators.h"
#ifdef WITH_OPENVDB
# include "openvdb/tools/GridOperators.h"
#endif
namespace blender::nodes::node_geo_grid_curl_cc {

View File

@@ -6,7 +6,9 @@
#include "node_geometry_util.hh"
#include "openvdb/tools/GridOperators.h"
#ifdef WITH_OPENVDB
# include "openvdb/tools/GridOperators.h"
#endif
namespace blender::nodes::node_geo_grid_divergence_cc {

View File

@@ -6,7 +6,9 @@
#include "node_geometry_util.hh"
#include "openvdb/tools/GridOperators.h"
#ifdef WITH_OPENVDB
# include "openvdb/tools/GridOperators.h"
#endif
namespace blender::nodes::node_geo_grid_gradient_cc {

View File

@@ -6,7 +6,9 @@
#include "node_geometry_util.hh"
#include "openvdb/tools/GridOperators.h"
#ifdef WITH_OPENVDB
# include "openvdb/tools/GridOperators.h"
#endif
namespace blender::nodes::node_geo_grid_laplacian_cc {