diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-01-31 01:43:43 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-02-02 09:07:55 -0500 |
commit | 424bd40d884f503692d2bcab945375ecae07542e (patch) | |
tree | 44ce2ea92d49c8f1e583cc296cf1780ea77ab750 /libre/blender/openvdb3-abi.patch | |
parent | 2c38f92da499fb18e22123f76b3158c46e3247cc (diff) | |
download | abslibre-424bd40d884f503692d2bcab945375ecae07542e.tar.gz abslibre-424bd40d884f503692d2bcab945375ecae07542e.tar.bz2 abslibre-424bd40d884f503692d2bcab945375ecae07542e.zip |
[blender]: upgrade to git-2c0c1f494dcfadb3c01d23e2348e28bc8864e9f3
Diffstat (limited to 'libre/blender/openvdb3-abi.patch')
-rw-r--r-- | libre/blender/openvdb3-abi.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libre/blender/openvdb3-abi.patch b/libre/blender/openvdb3-abi.patch deleted file mode 100644 index 73c46094d..000000000 --- a/libre/blender/openvdb3-abi.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index bfea2dd1a97..c59aff4c62c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -252,6 +252,10 @@ option(WITH_OPENSUBDIV "Enable OpenSubdiv for surface subdivision" _init_OPEN - option(WITH_OPENVDB "Enable features relying on OpenVDB" OFF) - option(WITH_OPENVDB_BLOSC "Enable blosc compression for OpenVDB, only enable if OpenVDB was built with blosc support" OFF) - -+if(WITH_OPENVDB) -+ add_definitions(-DOPENVDB_3_ABI_COMPATIBLE=TRUE) -+endif() -+ - # GHOST Windowing Library Options - option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF) - mark_as_advanced(WITH_GHOST_DEBUG) -diff --git a/intern/openvdb/intern/openvdb_writer.cc b/intern/openvdb/intern/openvdb_writer.cc -index e886c5a76a8..bedcfe65552 100644 ---- a/intern/openvdb/intern/openvdb_writer.cc -+++ b/intern/openvdb/intern/openvdb_writer.cc -@@ -45,7 +45,7 @@ void OpenVDBWriter::insert(const openvdb::GridBase::Ptr &grid) - - void OpenVDBWriter::insert(const openvdb::GridBase &grid) - { --#if (OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER == 3) -+#if (OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER <= 3) || defined(OPENVDB_3_ABI_COMPATIBLE) - m_grids->push_back(grid.copyGrid()); - #else - m_grids->push_back(grid.copyGridWithNewTree()); |