Cycles: Making Cycles work with older NanoVDB versions

This commit is contained in:
Christopher Hosken 2026-07-30 13:24:26 +02:00 • committed by Sebastian Herholz
parent c102032d17
commit fb40eaffc1

View file

@ -10,7 +10,10 @@
# include <openvdb/openvdb.h>
# define NANOVDB_USE_OPENVDB
# define NANOVDB_USE_TBB
# if NANOVDB_MAJOR_VERSION_NUMBER > 32 || (NANOVDB_MAJOR_VERSION_NUMBER == 32 && NANOVDB_MINOR_VERSION_NUMBER >= 9)
# define NANOVDB_USE_TBB
# endif
# include <nanovdb/NanoVDB.h> // manages and streams the raw memory buffer of a NanoVDB grid.