diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-05-04 18:28:54 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2021-05-04 18:30:49 +0300 |
commit | 87ee8ddfe36a0e875bf93401cf039447fff664fe (patch) | |
tree | 862546476dd234ec14c0c8500c116b2a1398af93 /intern | |
parent | f8f6e0b256213b4ae6a135b5987e8a92a64e6bbf (diff) |
Fix compile error without Alembic
Thanks to @Severin for noticing and providing a little patch.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/alembic_read.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/render/alembic_read.cpp b/intern/cycles/render/alembic_read.cpp index 4806eb26638..9fdc7561957 100644 --- a/intern/cycles/render/alembic_read.cpp +++ b/intern/cycles/render/alembic_read.cpp @@ -21,6 +21,8 @@ #include "util/util_progress.h" +#ifdef WITH_ALEMBIC + using namespace Alembic::AbcGeom; CCL_NAMESPACE_BEGIN @@ -997,3 +999,5 @@ void read_attributes(AlembicProcedural *proc, } CCL_NAMESPACE_END + +#endif |