mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles: Making Cycles work with older NanoVDB versions
This commit is contained in:
parent
c102032d17
commit
fb40eaffc1
1 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue