Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2021-05-04 18:28:54 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2021-05-04 18:30:49 +0300
commit87ee8ddfe36a0e875bf93401cf039447fff664fe (patch)
tree862546476dd234ec14c0c8500c116b2a1398af93 /intern
parentf8f6e0b256213b4ae6a135b5987e8a92a64e6bbf (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.cpp4
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